dde_bsd: prevent ‘nonnull’ argument warning

The implementation conflicted with the implicit declaration of bzero:

.../repos/dde_bsd/src/lib/audio/mem.cc: In function ‘void bzero(void*, size_t)’:
.../repos/dde_bsd/src/lib/audio/mem.cc:377:2: warning: ‘nonnull’ argument ‘b’ compared to NULL [-Wnonnull-compare]
This commit is contained in:
Christian Helmuth 2021-06-23 15:56:00 +02:00
parent c585e008b1
commit cd25dc4e6a

View File

@ -21,7 +21,8 @@ CC_OPT += -Wno-unused-but-set-variable
# disable builtins # disable builtins
CC_OPT += -fno-builtin-printf -fno-builtin-snprintf -fno-builtin-vsnprintf \ CC_OPT += -fno-builtin-printf -fno-builtin-snprintf -fno-builtin-vsnprintf \
-fno-builtin-malloc -fno-builtin-free -fno-builtin-log -fno-builtin-log2 -fno-builtin-malloc -fno-builtin-free -fno-builtin-log -fno-builtin-log2 \
-fno-builtin-bzero
CC_OPT += -D_KERNEL CC_OPT += -D_KERNEL