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 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
sys libnetbsd: import __CTASSERT(..) macros 2026-04-25 09:32:11 -07:00
efun.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
glob.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile Remove redundant PACKAGE for INTERNALLIB libraries 2025-08-23 01:57:23 +01:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.options local.dirdeps.mk skip N_host_libs for non-FreeBSD host 2023-05-04 11:58:39 -07:00
math.h libnetbsd: add math.h and sys/time.h 2026-04-25 09:32:11 -07:00
pthread.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
README Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
rmd160.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
sha1.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
sha2.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
sockaddr_snprintf.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
stdlib.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
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 Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00

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.