diff options
| author | Eric van Gyzen <vangyzen@FreeBSD.org> | 2017-02-28 21:47:00 +0000 |
|---|---|---|
| committer | Eric van Gyzen <vangyzen@FreeBSD.org> | 2017-02-28 21:47:00 +0000 |
| commit | 81027fa594a3bf137887beff7259f8e3577bcf9e (patch) | |
| tree | 38357f1b656ec4025fef6b605806f8457ed999a4 /include | |
| parent | e7eec274e1746968d19c4e4f588eae45f06e44ea (diff) | |
Notes
Diffstat (limited to 'include')
| -rw-r--r-- | include/semaphore.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/semaphore.h b/include/semaphore.h index f880d1581f2e..110f7c865df0 100644 --- a/include/semaphore.h +++ b/include/semaphore.h @@ -52,6 +52,10 @@ typedef struct _sem sem_t; struct timespec; __BEGIN_DECLS +#if __BSD_VISIBLE +int sem_clockwait_np(sem_t * __restrict, __clockid_t, int, + const struct timespec *, struct timespec *); +#endif int sem_close(sem_t *); int sem_destroy(sem_t *); int sem_getvalue(sem_t * __restrict, int * __restrict); @@ -59,10 +63,6 @@ int sem_init(sem_t *, int, unsigned int); sem_t *sem_open(const char *, int, ...); int sem_post(sem_t *); int sem_timedwait(sem_t * __restrict, const struct timespec * __restrict); -#if __BSD_VISIBLE -int sem_clockwait_np(sem_t * __restrict, __clockid_t, int, - const struct timespec *, struct timespec *); -#endif int sem_trywait(sem_t *); int sem_unlink(const char *); int sem_wait(sem_t *); |
