Browse Source

- __td_debug is only needed if NDEBUG is not defined.

Bernhard Reutner-Fischer 19 years ago
parent
commit
ba04ff722d
2 changed files with 4 additions and 2 deletions
  1. 2 1
      libpthread/linuxthreads.old_db/td_init.c
  2. 2 1
      libpthread/linuxthreads_db/td_init.c

+ 2 - 1
libpthread/linuxthreads.old_db/td_init.c

@@ -20,8 +20,9 @@
 
 #include "thread_dbP.h"
 
+#ifndef NDEBUG
 int __td_debug;
-
+#endif
 
 td_err_e
 td_init (void)

+ 2 - 1
libpthread/linuxthreads_db/td_init.c

@@ -20,8 +20,9 @@
 
 #include "thread_dbP.h"
 
+#ifndef NDEBUG
 int __td_debug;
-
+#endif
 
 td_err_e
 td_init (void)