From 31f2b819c68f20ff188724669d3044a0680e3ceb Mon Sep 17 00:00:00 2001 From: davidxu Date: Tue, 4 Apr 2006 02:57:49 +0000 Subject: WARNS level 4 cleanup. --- lib/libthr/thread/thr_create.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libthr/thread/thr_create.c') diff --git a/lib/libthr/thread/thr_create.c b/lib/libthr/thread/thr_create.c index b35f6b7..bb5724a 100644 --- a/lib/libthr/thread/thr_create.c +++ b/lib/libthr/thread/thr_create.c @@ -27,6 +27,7 @@ * $FreeBSD$ */ +#include "namespace.h" #include #include #include @@ -34,6 +35,7 @@ #include #include #include +#include "un-namespace.h" #include "thr_private.h" @@ -242,7 +244,7 @@ thread_start(struct pthread *curthread) THR_UNLOCK(curthread); /* Run the current thread's start routine with argument: */ - pthread_exit(curthread->start_routine(curthread->arg)); + _pthread_exit(curthread->start_routine(curthread->arg)); /* This point should never be reached. */ PANIC("Thread has resumed after exit"); -- cgit v1.1