From acadc5664e7f056e27c95d88522a573c1ed5cc49 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Thu, 22 Nov 2007 16:55:08 +0000 Subject: Add hidden symbols for a number of pthread functions, and use them to ensure that all entries in the __pthread_functions point to functions within libpthread, not identically-named functions in libc. --- libpthread/linuxthreads.old/join.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpthread/linuxthreads.old/join.c') diff --git a/libpthread/linuxthreads.old/join.c b/libpthread/linuxthreads.old/join.c index 4bdc77a25..250b47166 100644 --- a/libpthread/linuxthreads.old/join.c +++ b/libpthread/linuxthreads.old/join.c @@ -25,10 +25,12 @@ #include "restart.h" #include "debug.h" /* PDEBUG, added by StS */ +libpthread_hidden_proto (pthread_exit) void pthread_exit(void * retval) { __pthread_do_exit (retval, CURRENT_STACK_FRAME); } +libpthread_hidden_def (pthread_exit) void __pthread_do_exit(void *retval, char *currentframe) { -- cgit v1.2.3