summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sem.c
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2003-02-16 17:29:11 +0000
committernectar <nectar@FreeBSD.org>2003-02-16 17:29:11 +0000
commit832e8b7f9a7422b49453b7e389ec411d3037a50f (patch)
tree3b5579370346d51f378192429db2130e5e82a6e4 /lib/libc/gen/sem.c
parent81da3fbe2a40d9b80c8e96af564180f8aa22074e (diff)
downloadFreeBSD-src-832e8b7f9a7422b49453b7e389ec411d3037a50f.zip
FreeBSD-src-832e8b7f9a7422b49453b7e389ec411d3037a50f.tar.gz
Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go).
Only warnings that could be fixed without changing the generated object code and without restructuring the source code have been handled. Reviewed by: /sbin/md5
Diffstat (limited to 'lib/libc/gen/sem.c')
-rw-r--r--lib/libc/gen/sem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gen/sem.c b/lib/libc/gen/sem.c
index d1cf10e..e37eccd 100644
--- a/lib/libc/gen/sem.c
+++ b/lib/libc/gen/sem.c
@@ -29,6 +29,7 @@
* $FreeBSD$
*/
+#include "namespace.h"
#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
@@ -37,6 +38,7 @@
#include <pthread.h>
#include <sys/queue.h>
#include <_semaphore.h>
+#include "un-namespace.h"
#define _SEM_CHECK_VALIDITY(sem) \
if ((*(sem))->magic != SEM_MAGIC) { \
OpenPOWER on IntegriCloud