summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/pthread.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-02-25 11:06:29 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-02-25 11:06:29 +0000
commit147041d26029fabdb35b596a1d3bcbb40c3de975 (patch)
treedcd8320bbf30440ee47fe47130cbd1500ced80bd /libpthread/linuxthreads.old/pthread.c
parentbdf8a6c4b863184545a15f63b9e28bd81e942859 (diff)
Reinstate __libc_foo's needed for linuxthreads.old.
Now they are only enabled if linuxthreads.old are selected.
Diffstat (limited to 'libpthread/linuxthreads.old/pthread.c')
-rw-r--r--libpthread/linuxthreads.old/pthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads.old/pthread.c b/libpthread/linuxthreads.old/pthread.c
index 308845d36..e1e6c9fd6 100644
--- a/libpthread/linuxthreads.old/pthread.c
+++ b/libpthread/linuxthreads.old/pthread.c
@@ -1156,7 +1156,7 @@ void __pthread_message(char * fmt, ...)
#ifndef __PIC__
/* We need a hook to force the cancelation wrappers to be linked in when
static libpthread is used. */
-extern const int __pthread_provide_wrappers;
-static const int *const __pthread_require_wrappers =
+extern const char __pthread_provide_wrappers;
+static const char *const __pthread_require_wrappers =
&__pthread_provide_wrappers;
#endif