summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads.old_db/thread_dbP.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads.old_db/thread_dbP.h')
-rw-r--r--libpthread/linuxthreads.old_db/thread_dbP.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libpthread/linuxthreads.old_db/thread_dbP.h b/libpthread/linuxthreads.old_db/thread_dbP.h
index 257beb2e9..f08c43206 100644
--- a/libpthread/linuxthreads.old_db/thread_dbP.h
+++ b/libpthread/linuxthreads.old_db/thread_dbP.h
@@ -11,7 +11,7 @@
#include "internals.h"
-/* Indeces for the symbol names. */
+/* Indices for the symbol names. */
enum
{
PTHREAD_THREADS_EVENTS = 0,
@@ -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
@@ -86,7 +86,7 @@ struct agent_list
};
/* List of all known descriptors. */
-extern struct agent_list *__td_agent_list;
+extern struct agent_list *__td_agent_list attribute_hidden;
/* Function used to test for correct thread agent pointer. */
static inline int
@@ -105,6 +105,6 @@ ta_ok (const td_thragent_t *ta)
/* Internal wrapper around ps_pglobal_lookup. */
-extern int td_lookup (struct ps_prochandle *ps, int idx, psaddr_t *sym_addr);
+extern int td_lookup (struct ps_prochandle *ps, int idx, psaddr_t *sym_addr) attribute_hidden;
#endif /* thread_dbP.h */