Guard sem_clockwait_np() declaration with __BSD_VISIBLE
This is a POSIX header file, so keep the namespace clean. Reported by: kib MFC after: 13 days X-MFC with: r314179 Sponsored by: Dell EMC
This commit is contained in:
parent
797046eebb
commit
f4b4cf565d
@ -59,8 +59,10 @@ 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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user