summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/cancel.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/cancel.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/cancel.c')
-rw-r--r--libpthread/linuxthreads.old/cancel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads.old/cancel.c b/libpthread/linuxthreads.old/cancel.c
index 239b821f1..03a85e4e9 100644
--- a/libpthread/linuxthreads.old/cancel.c
+++ b/libpthread/linuxthreads.old/cancel.c
@@ -215,7 +215,7 @@ void __pthread_perform_cleanup(char *currentframe)
#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