summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2004-10-08 14:48:02 +0000
committermtm <mtm@FreeBSD.org>2004-10-08 14:48:02 +0000
commit9c7869cb6f10dcf98ad56a3df77ddeb82d25be4d (patch)
treecf269cd40523e3de7d5f3da2d2d4063b2962a094 /lib
parent485ea4eb2201dcecda09e9efe4aec97dd3613a4c (diff)
downloadFreeBSD-src-9c7869cb6f10dcf98ad56a3df77ddeb82d25be4d.zip
FreeBSD-src-9c7869cb6f10dcf98ad56a3df77ddeb82d25be4d.tar.gz
Remove a reference to a non-existent syscall: _thr_exit(). The
actual name is thr_exit(). How this ever worked is beyond me.
Diffstat (limited to 'lib')
-rw-r--r--lib/libthr/thread/thr_exit.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libthr/thread/thr_exit.c b/lib/libthr/thread/thr_exit.c
index 3ee5fa5..6a45687 100644
--- a/lib/libthr/thread/thr_exit.c
+++ b/lib/libthr/thread/thr_exit.c
@@ -42,9 +42,6 @@
__weak_reference(_pthread_exit, pthread_exit);
-/* thr_exit() */
-extern int _thr_exit(long *state);
-
static void deadlist_free_threads();
void
@@ -180,7 +177,7 @@ _pthread_exit(void *status)
* thread, which we can't be because we've already checked
* for that.
*/
- _thr_exit((long *)&curthread->isdead);
+ thr_exit((long *)&curthread->isdead);
/* This point should not be reached. */
PANIC("Dead thread has resumed");
OpenPOWER on IntegriCloud