1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00
freebsd/lib/libnetbsd
Alan Somers 6040822c4e Make timespecadd(3) and friends public
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
2018-07-30 15:46:40 +00:00
..
netinet
sys Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
efun.c libnetbsd: add emalloc and friends 2017-04-06 14:36:08 +00:00
glob.h Improve libnetbsd compatibility with NetBSD 2017-02-07 19:42:41 +00:00
Makefile libnetbsd: add emalloc and friends 2017-04-06 14:36:08 +00:00
Makefile.depend
pthread.h Improve libnetbsd compatibility with NetBSD 2017-02-07 19:42:41 +00:00
README
rmd160.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
sha1.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
sha2.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
sockaddr_snprintf.c Port the getaddrinfo(1) utility from NetBSD 2017-03-20 16:44:55 +00:00
stdlib.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
strsuftoll.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
util.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
util.h libnetbsd: Make the function declaration of efopen() match the definition 2018-01-16 21:43:21 +00:00

$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.