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_info.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/libthr/thread/thr_info.c') diff --git a/lib/libthr/thread/thr_info.c b/lib/libthr/thread/thr_info.c index 7605741..804ce98 100644 --- a/lib/libthr/thread/thr_info.c +++ b/lib/libthr/thread/thr_info.c @@ -32,9 +32,12 @@ * $FreeBSD$ */ -#include +#include "namespace.h" #include #include +#include +#include +#include "un-namespace.h" #include "thr_private.h" @@ -42,7 +45,7 @@ __weak_reference(_pthread_set_name_np, pthread_set_name_np); /* Set the thread name for debug. */ void -_pthread_set_name_np(pthread_t thread, char *name) +_pthread_set_name_np(pthread_t thread, const char *name) { struct pthread *curthread = _get_curthread(); int ret = 0; -- cgit v1.1