diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2001-01-29 03:24:23 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2001-01-29 03:24:23 +0000 |
| commit | 221b1e69c51f32e44f7f072b3416b7c8c3ad113e (patch) | |
| tree | 31172a4e134937089ec0bde8adabee31d2a52c1f /lib/libpthread/thread/thr_exit.c | |
| parent | c37592a1943cba2a0fed34b588b9fa7477e0f12a (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_exit.c')
| -rw-r--r-- | lib/libpthread/thread/thr_exit.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libpthread/thread/thr_exit.c b/lib/libpthread/thread/thr_exit.c index 42bf025406de..169aa4fb2cba 100644 --- a/lib/libpthread/thread/thr_exit.c +++ b/lib/libpthread/thread/thr_exit.c @@ -43,10 +43,9 @@ #define FLAGS_IN_SCHEDQ \ (PTHREAD_FLAGS_IN_PRIOQ|PTHREAD_FLAGS_IN_WAITQ|PTHREAD_FLAGS_IN_WORKQ) -#pragma weak _exit=__exit #pragma weak pthread_exit=_pthread_exit -void __exit(int status) +void _exit(int status) { int flags; int i; @@ -79,7 +78,7 @@ void __exit(int status) } /* Call the _exit syscall: */ - __sys__exit(status); + __sys_exit(status); } void @@ -104,7 +103,7 @@ _thread_exit(char *fname, int lineno, char *string) #if defined(_PTHREADS_INVARIANTS) abort(); #else - _exit(1); + __sys_exit(1); #endif } |
