summaryrefslogtreecommitdiffstats
path: root/sys/posix4/semaphore.h
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2004-02-03 22:27:03 +0000
committerdeischen <deischen@FreeBSD.org>2004-02-03 22:27:03 +0000
commit90537c745ad92c472851318898b4b66be4a89aef (patch)
tree1c9088b62e8762eff2dc25f9a5ba56f4f1d4e035 /sys/posix4/semaphore.h
parent0000067319a197c517553b4bd00eeca22fbbb7bb (diff)
downloadFreeBSD-src-90537c745ad92c472851318898b4b66be4a89aef.zip
FreeBSD-src-90537c745ad92c472851318898b4b66be4a89aef.tar.gz
The sem_timedwait() and ksem_timedwait() functions both
need struct timespec, so define it here. Discussed in: standards (wollman)
Diffstat (limited to 'sys/posix4/semaphore.h')
-rw-r--r--sys/posix4/semaphore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/posix4/semaphore.h b/sys/posix4/semaphore.h
index f451d5f..1806252 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 *);
OpenPOWER on IntegriCloud