NetBSD/sys/lib/libkern
riastradh 57efa05d59 libkern: Make KASSERT verify expression is valid if !DIAGNOSTIC.
This way it is no longer necessary to mark variables __diagused if
they are used in KASSERT conditions.

Fix fallout from this by removing now-unnecessary and `#ifdef
DIAGNOSTIC'.

Don't do the same for KDASSERT if !DEBUG -- unlike KASSERT and
DIAGNOSTIC, variables needed by KDASSERT and DEBUG are likely to be
expensive to compute (and potentially difficult for a compiler to
prove flushable), so we don't want to require them under !DEBUG.
2021-12-31 14:19:57 +00:00
..
arch
Makefile
Makefile.compiler-rt
Makefile.inc
Makefile.libkern
__main.c
copystr.c
crc16.h
crc32.c
crc32.h
disklabel_swap.c
dkcksum.c
entpool.c
entpool.h
hexdump.c
imax.c
imin.c
intoa.c
kern_assert.c
libkern.h
lmax.c
lmin.c
milieu.h
pmatch.c
rngtest.c
scanc.c
skpc.c
softfloat-macros.h
softfloat-specialize.h
softfloat.c
softfloat.h
strlist.c
strlist.h
strnvisx.c
uimax.c
uimin.c
ulmax.c
ulmin.c
xlat_mbr_fstype.c