b3776cb8de
The timespecadd(3) family of macros were imported from NetBSD back in r35029. However, they were initially guarded by #ifdef _KERNEL. In the meantime, we have grown at least 28 syscalls that use timespecs in some way, leading many programs both inside and outside of the base system to redefine those macros. It's better just to make the definitions public. Our kernel currently defines two-argument versions of timespecadd and timespecsub. NetBSD, OpenBSD, and FreeDesktop.org's libbsd, however, define three-argument versions. Solaris also defines a three-argument version, but only in its kernel. This revision changes our definition to match the common three-argument version. Bump _FreeBSD_version due to the breaking KPI change. Discussed with: cem, jilles, ian, bde Differential Revision: https://reviews.freebsd.org/D14725 |
||
---|---|---|
.. | ||
netinet | ||
sys | ||
efun.c | ||
glob.h | ||
Makefile | ||
Makefile.depend | ||
pthread.h | ||
README | ||
rmd160.h | ||
sha1.h | ||
sha2.h | ||
sockaddr_snprintf.c | ||
stdlib.h | ||
strsuftoll.c | ||
util.c | ||
util.h |
$FreeBSD$ libnetbsd is a thin compatibility layer intended to allow a limited set of NetBSD software to compile as part of the FreeBSD build with little or no modification. It is built as a static library and not installed for general use. Likewise, its header files are not installed.