summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsnmpd
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2004-03-05 08:10:19 +0000
committermarkm <markm@FreeBSD.org>2004-03-05 08:10:19 +0000
commit0b0ae8e16e50fd60ad86f4f14ec05cfc50e7eae5 (patch)
tree524ae0ef30bcdfacb05b3c2b01e1c48e80d93e3b /usr.sbin/bsnmpd
parentf5816d0166177c6f98d32562b93f6cf287f9b4f5 (diff)
downloadFreeBSD-src-0b0ae8e16e50fd60ad86f4f14ec05cfc50e7eae5.zip
FreeBSD-src-0b0ae8e16e50fd60ad86f4f14ec05cfc50e7eae5.tar.gz
Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)
that this provokes. "Wherever possible" means "In the kernel OR NOT C++" (implying C). There are places where (void *) pointers are not valid, such as for function pointers, but in the special case of (void *)0, agreement settles on it being OK. Most of the fixes were NULL where an integer zero was needed; many of the fixes were NULL where ascii <nul> ('\0') was needed, and a few were just "other". Tested on: i386 sparc64
Diffstat (limited to 'usr.sbin/bsnmpd')
-rw-r--r--usr.sbin/bsnmpd/bsnmpd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bsnmpd/bsnmpd/Makefile b/usr.sbin/bsnmpd/bsnmpd/Makefile
index 86351b0..0f70d8f 100644
--- a/usr.sbin/bsnmpd/bsnmpd/Makefile
+++ b/usr.sbin/bsnmpd/bsnmpd/Makefile
@@ -14,6 +14,7 @@ XSYM= snmpMIB begemotSnmpdModuleTable begemotSnmpd begemotTrapSinkTable \
CLEANFILES= oid.h tree.c tree.h
MAN= bsnmpd.1 snmpmod.3
WARNS?= 6
+NO_WERROR=yes
FILESGROUPS= BMIBS DEFS
OpenPOWER on IntegriCloud