opnsense-src/lib/libnetbsd
Enji Cooper 0b97aba5c2 libnetbsd: import __CTASSERT(..) macros
These compile-time assert macros are similar to `Static_assert` on FreeBSD.

These macros are in use in newer versions of `contrib/netbsd-tests`.

Obtained from:	https://github.com/NetBSD/src (c26cc77b3a0b26b95a2)
MFC after:	1 week

(cherry picked from commit d1f1402dff63dd163d4ba4ac65f7f2ffd00c5e08)
2026-04-25 09:32:11 -07:00
..
netinet
sys libnetbsd: import __CTASSERT(..) macros 2026-04-25 09:32:11 -07:00
efun.c
glob.h
Makefile Remove redundant PACKAGE for INTERNALLIB libraries 2025-08-23 01:57:23 +01:00
Makefile.depend
Makefile.depend.options
math.h libnetbsd: add math.h and sys/time.h 2026-04-25 09:32:11 -07:00
pthread.h
README
rmd160.h
sha1.h
sha2.h
sockaddr_snprintf.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
stdlib.h
strsuftoll.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
util.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
util.h

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.