summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old_db
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-03 14:33:12 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-03 14:33:12 +0000
commit4594edc979cedff5be1dc17d8a3d3dcc365f36bc (patch)
treea7a2612064cc5e7b7aa72bf51447ba738ef58b09 /libpthread/linuxthreads.old_db
parent8bdad7ecff03268b7e3fd54270a08e19770f6eaf (diff)
Use write instead of __libc_write for debug, hide __td_debug
Diffstat (limited to 'libpthread/linuxthreads.old_db')
-rw-r--r--libpthread/linuxthreads.old_db/thread_dbP.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads.old_db/thread_dbP.h b/libpthread/linuxthreads.old_db/thread_dbP.h
index 7f3800328..33d6bde01 100644
--- a/libpthread/linuxthreads.old_db/thread_dbP.h
+++ b/libpthread/linuxthreads.old_db/thread_dbP.h
@@ -33,8 +33,8 @@ enum
/* Comment out the following for less verbose output. */
#ifndef NDEBUG
-# define LOG(c) if (__td_debug) __libc_write (2, c "\n", strlen (c "\n"))
-extern int __td_debug;
+# define LOG(c) if (__td_debug) write (2, c "\n", strlen (c "\n"))
+extern int __td_debug attribute_hidden;
#else
# define LOG(c)
#endif