Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Tom Spindler <dogcow@netbsd.org>
List: source-changes
Date: 10/13/2006 16:53:36
Module Name: src
Committed By: dogcow
Date: Fri Oct 13 16:53:36 UTC 2006
Modified Files:
src/sys/arch/i386/i386: vm_machdep.c
src/sys/dev/mca: esp_mca.c
src/sys/dev/wscons: wsdisplay.c wskbd.c
src/sys/dist/ipf/netinet: ip_fil_netbsd.c ip_lookup.c ip_nat.c
ip_state.c
src/sys/kern: kern_exec.c kern_ktrace.c kern_ntptime.c kern_subr.c
sys_generic.c
src/sys/net: if_bridge.c if_spppsubr.c
Log Message:
More -Wunused fallout. sprinkle __unused when possible; otherwise, use the
do { if (&x) {} } while (/* CONSTCOND */ 0);
construct as suggested by uwe in <20061012224845.GA9449@snark.ptc.spbu.ru>.
To generate a diff of this commit:
cvs rdiff -r1.124 -r1.125 src/sys/arch/i386/i386/vm_machdep.c
cvs rdiff -r1.12 -r1.13 src/sys/dev/mca/esp_mca.c
cvs rdiff -r1.102 -r1.103 src/sys/dev/wscons/wsdisplay.c
cvs rdiff -r1.95 -r1.96 src/sys/dev/wscons/wskbd.c
cvs rdiff -r1.25 -r1.26 src/sys/dist/ipf/netinet/ip_fil_netbsd.c
cvs rdiff -r1.5 -r1.6 src/sys/dist/ipf/netinet/ip_lookup.c
cvs rdiff -r1.16 -r1.17 src/sys/dist/ipf/netinet/ip_nat.c
cvs rdiff -r1.12 -r1.13 src/sys/dist/ipf/netinet/ip_state.c
cvs rdiff -r1.228 -r1.229 src/sys/kern/kern_exec.c
cvs rdiff -r1.107 -r1.108 src/sys/kern/kern_ktrace.c
cvs rdiff -r1.38 -r1.39 src/sys/kern/kern_ntptime.c
cvs rdiff -r1.147 -r1.148 src/sys/kern/kern_subr.c
cvs rdiff -r1.93 -r1.94 src/sys/kern/sys_generic.c
cvs rdiff -r1.42 -r1.43 src/sys/net/if_bridge.c
cvs rdiff -r1.98 -r1.99 src/sys/net/if_spppsubr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.