From 4cdb7f14ed9055b34cc20f33cfa7e258f42ccc97 Mon Sep 17 00:00:00 2001 From: Mike Makonnen Date: Fri, 8 Oct 2004 14:48:02 +0000 Subject: [PATCH] Remove a reference to a non-existent syscall: _thr_exit(). The actual name is thr_exit(). How this ever worked is beyond me. --- lib/libthr/thread/thr_exit.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/libthr/thread/thr_exit.c b/lib/libthr/thread/thr_exit.c index 3ee5fa5b542..6a4568788f3 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");