aboutsummaryrefslogtreecommitdiff
path: root/sys/posix4
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2004-02-03 22:27:03 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2004-02-03 22:27:03 +0000
commit3c96f1d19046bdf35b2afd54d5b5243fb8e6ef2b (patch)
tree1c9088b62e8762eff2dc25f9a5ba56f4f1d4e035 /sys/posix4
parent13ff581d3d5bc9de0f246496b70951ef67648a01 (diff)
Notes
Diffstat (limited to 'sys/posix4')
-rw-r--r--sys/posix4/_semaphore.h1
-rw-r--r--sys/posix4/semaphore.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/posix4/_semaphore.h b/sys/posix4/_semaphore.h
index 2c330e881fe7..91106ff99e51 100644
--- a/sys/posix4/_semaphore.h
+++ b/sys/posix4/_semaphore.h
@@ -29,6 +29,7 @@
#define __SEMAPHORE_H_
typedef intptr_t semid_t;
+struct timespec;
#ifndef _KERNEL
diff --git a/sys/posix4/semaphore.h b/sys/posix4/semaphore.h
index f451d5f6dc71..180625221f2e 100644
--- a/sys/posix4/semaphore.h
+++ b/sys/posix4/semaphore.h
@@ -47,6 +47,8 @@ typedef struct sem * sem_t;
#ifndef _KERNEL
#include <sys/cdefs.h>
+struct timespec;
+
__BEGIN_DECLS
int sem_close(sem_t *);
int sem_destroy(sem_t *);