diff --git a/src/error.c b/src/error.c index f021b7c99d14d0c60bfaafc5a7b664c59031c67d..23ce69a7e935553a3a53633699514fe44161e85a 100644 --- a/src/error.c +++ b/src/error.c @@ -3,6 +3,7 @@ ||| Pike is distributed as GPL (General Public License) ||| See the files COPYING and DISCLAIMER for more information. \*/ +/**/ #include "global.h" #include "pike_macros.h" #include "error.h" @@ -16,7 +17,7 @@ #include "backend.h" #include "operators.h" -RCSID("$Id: error.c,v 1.23 1999/01/31 09:01:45 hubbe Exp $"); +RCSID("$Id: error.c,v 1.24 1999/02/20 17:44:55 grubba Exp $"); #undef ATTRIBUTE #define ATTRIBUTE(X) diff --git a/src/threads.c b/src/threads.c index c4dfe3dd20d25d8ad4999da5f6406e7ab88e3419..aefb808cca1ba6a232f5fef9b976a15abab819dc 100644 --- a/src/threads.c +++ b/src/threads.c @@ -1,5 +1,5 @@ #include "global.h" -RCSID("$Id: threads.c,v 1.89 1999/02/10 21:46:58 hubbe Exp $"); +RCSID("$Id: threads.c,v 1.90 1999/02/20 17:44:37 grubba Exp $"); int num_threads = 1; int threads_disabled = 0; @@ -176,6 +176,8 @@ void low_init_threads_disable(void) (stderr, "low_init_threads_disable(): Locking IM's...\n")); if (thread_id) { + /* Threads have been enabled. */ + IMUTEX_T *im; THREADS_ALLOW(); @@ -193,6 +195,8 @@ void low_init_threads_disable(void) THREADS_DISALLOW(); } else { + /* Threads haven't been enabled yet. */ + IMUTEX_T *im; /* Keep this the entire session. */