summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/cancel.c
diff options
context:
space:
mode:
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