summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-01-23 08:51:48 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-01-23 08:51:48 +0000
commitba04ff722d21b953441f6ab0d1828db5a4598ce2 (patch)
tree16669ef8d56fc3be740a43208a5139b3de3cc62c /libpthread
parent09702bb3f95e4d892c6592b48907c712717a8341 (diff)
- __td_debug is only needed if NDEBUG is not defined.
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads.old_db/td_init.c3
-rw-r--r--libpthread/linuxthreads_db/td_init.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/libpthread/linuxthreads.old_db/td_init.c b/libpthread/linuxthreads.old_db/td_init.c
index d714f1ba0..6f0e1584c 100644
--- a/libpthread/linuxthreads.old_db/td_init.c
+++ b/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)
diff --git a/libpthread/linuxthreads_db/td_init.c b/libpthread/linuxthreads_db/td_init.c
index d714f1ba0..6f0e1584c 100644
--- a/libpthread/linuxthreads_db/td_init.c
+++ b/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)