remove 'volatile' they're wrong, we need barriers/locks there someday
authorChristian Thaeter <ct@pipapo.org>
Fri, 20 Aug 2010 18:08:46 +0000 (20:08 +0200)
committerChristian Thaeter <ct@pipapo.org>
Fri, 20 Aug 2010 18:08:46 +0000 (20:08 +0200)
src/nobug.c
src/nobug.h

index e09fbfd..8bf28a4 100644 (file)
@@ -84,7 +84,7 @@ nobug_tls_free (void * tls)
 /*
   default initialization
 */
-static volatile int nobug_initialized = 0;
+static int nobug_initialized = 0;
 
 void
 nobug_init (const struct nobug_context context)
index ac86975..71949f4 100644 (file)
@@ -2426,7 +2426,7 @@ struct nobug_flag
 {
   const char* name;
   struct nobug_flag* parent;
-  volatile int initialized;
+  int initialized;
   int limits[5];
   struct nobug_ringbuffer* ringbuffer_target;
   FILE* console_target;