From 6356a9c88e04455186a9b6d683ace14dadb891b7 Mon Sep 17 00:00:00 2001 From: mtm Date: Fri, 23 May 2003 09:48:20 +0000 Subject: Make WARNS2 clean. The fixes mostly included: o removed unused variables o explicit inclusion of header files o prototypes for externally defined functions Approved by: re/blanket libthr --- lib/libthr/thread/thr_kern.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libthr/thread/thr_kern.c') diff --git a/lib/libthr/thread/thr_kern.c b/lib/libthr/thread/thr_kern.c index 2945cc3..7d10c5f 100644 --- a/lib/libthr/thread/thr_kern.c +++ b/lib/libthr/thread/thr_kern.c @@ -33,6 +33,7 @@ #include #include #include +#include #include #include @@ -80,7 +81,6 @@ void _thread_critical_exit(pthread_t pthread) { sigset_t set; - int error; /* * restore is protected by giant. We could restore our signal state -- cgit v1.1