Date: Fri, 24 Feb 2017 10:27:31 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Eric van Gyzen <vangyzen@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r314179 - in head: contrib/netbsd-tests/lib/librt include lib/libc/gen lib/libc/include share/man/man3 sys/kern Message-ID: <20170224082731.GT2092@kib.kiev.ua> In-Reply-To: <201702231936.v1NJadRa029404@repo.freebsd.org> References: <201702231936.v1NJadRa029404@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 *); >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170224082731.GT2092>