Branch: Tag:

2001-09-24

2001-09-24 16:58:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/builtin.cmod:1.66
Rev: src/builtin_functions.c:1.406
Rev: src/combine_path.h:1.8
Rev: src/iterators.cmod:1.14
Rev: src/las.c:1.266
Rev: src/peep.c:1.70
Rev: src/program.c:1.372
Rev: src/stralloc.c:1.136
Rev: src/svalue.c:1.124
Rev: src/threads.c:1.166

1:   #include "global.h" - RCSID("$Id: threads.c,v 1.165 2001/09/20 19:36:43 hubbe Exp $"); + RCSID("$Id: threads.c,v 1.166 2001/09/24 16:45:39 grubba Exp $");      PMOD_EXPORT int num_threads = 1;   PMOD_EXPORT int threads_disabled = 0;
29:   PMOD_EXPORT COND_T threads_disabled_change;   PMOD_EXPORT size_t thread_stack_size=256 * 1204;    + /* SCO magic... */ + int __thread_sys_behavior = 1; +    #if !defined(HAVE_PTHREAD_ATFORK) && !defined(th_atfork)   #include "callback.h"   
738:    */   void f_thread_create(INT32 args)   { -  THREAD_T dummy; +     struct thread_starter *arg;    int tmp;    arg = ALLOC_STRUCT(thread_starter);
1668:      void th_init(void)   { -  struct program *tmp; +     ptrdiff_t mutex_key_offset;      #ifdef UNIX_THREADS