diff options
Diffstat (limited to 'pthread/pt-exit.c')
-rw-r--r-- | pthread/pt-exit.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pthread/pt-exit.c b/pthread/pt-exit.c index c01efda..c47b604 100644 --- a/pthread/pt-exit.c +++ b/pthread/pt-exit.c @@ -24,13 +24,13 @@ #include <pt-internal.h> -#include <bits/atomic.h> +#include <bits/pt-atomic.h> /* Terminate the current thread and make STATUS available to any thread that might join it. */ void -pthread_exit (void *status) +__pthread_exit (void *status) { struct __pthread *self = _pthread_self (); struct __pthread_cancelation_handler **handlers; @@ -120,3 +120,5 @@ pthread_exit (void *status) /* NOTREACHED */ abort (); } + +strong_alias (__pthread_exit, pthread_exit); |