summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/forward.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads.old/forward.c')
-rw-r--r--libpthread/linuxthreads.old/forward.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpthread/linuxthreads.old/forward.c b/libpthread/linuxthreads.old/forward.c
index 90ec6ef3a..8373b4d41 100644
--- a/libpthread/linuxthreads.old/forward.c
+++ b/libpthread/linuxthreads.old/forward.c
@@ -23,6 +23,7 @@
#include <libc-internal.h>
+libc_hidden_def(exit)
/* Pointers to the libc functions. */
struct pthread_functions __libc_pthread_functions attribute_hidden;
@@ -101,7 +102,7 @@ FORWARD (pthread_equal, (pthread_t thread1, pthread_t thread2),
/* Use an alias to avoid warning, as pthread_exit is declared noreturn. */
-FORWARD2 (__pthread_exit, void, (void *retval), (retval), __exit (EXIT_SUCCESS))
+FORWARD2 (__pthread_exit, void, (void *retval), (retval), exit (EXIT_SUCCESS))
strong_alias (__pthread_exit, pthread_exit);