diff options
Diffstat (limited to 'lib/libpthread/thread/thr_exit.c')
-rw-r--r-- | lib/libpthread/thread/thr_exit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_exit.c b/lib/libpthread/thread/thr_exit.c index abe4b27..57ac114 100644 --- a/lib/libpthread/thread/thr_exit.c +++ b/lib/libpthread/thread/thr_exit.c @@ -41,7 +41,7 @@ #include <pthread.h> #include "pthread_private.h" -void _exit(int status) +void _libc__exit(int status) { int flags; int i; @@ -77,6 +77,8 @@ void _exit(int status) _thread_sys__exit(status); } +__weak_reference(_libc__exit, _exit); + void _thread_exit(char *fname, int lineno, char *string) { |