On Thu, Feb 23, 2017 at 07:36:39PM +0000, Eric van Gyzen wrote:
> Modified: head/include/semaphore.h
> ==============================================================================
> --- head/include/semaphore.h  Thu Feb 23 19:32:25 2017        (r314178)
> +++ head/include/semaphore.h  Thu Feb 23 19:36:38 2017        (r314179)
> @@ -59,6 +59,8 @@ 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);
> +int   sem_clockwait_np(sem_t * __restrict, __clockid_t, int,
> +         const struct timespec *, struct timespec *);
I argue that semaphore.h is POSIX include file and the declaration of
sem_clockwait_np(), despite being in implementation (non-portable)
namespace, still should be braced with #if __BSD_VISIBLE.

>  int   sem_trywait(sem_t *);
>  int   sem_unlink(const char *);
>  int   sem_wait(sem_t *);
> 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to