use nitems() instead of handrolling something identical
authorjasper <jasper@openbsd.org>
Sun, 13 Jul 2014 12:11:01 +0000 (12:11 +0000)
committerjasper <jasper@openbsd.org>
Sun, 13 Jul 2014 12:11:01 +0000 (12:11 +0000)
commit85882e82c16b2d91f469b88064ca6c3ba961c22c
treee66e2e4d24478b4acd6ab1d744415dc370bcb760
parent42a8b0bc20639c0d611f5b2933656aea801878e5
use nitems() instead of handrolling something identical

ok mpi@ sthen@
20 files changed:
sys/arch/alpha/alpha/db_interface.c
sys/arch/amd64/amd64/amd64_mem.c
sys/arch/amd64/amd64/amd64errata.c
sys/arch/amd64/amd64/bios.c
sys/arch/amd64/amd64/db_trace.c
sys/arch/amd64/amd64/identcpu.c
sys/arch/amd64/amd64/machdep.c
sys/arch/amd64/amd64/trap.c
sys/arch/arm/arm/db_interface.c
sys/arch/hppa/hppa/db_interface.c
sys/arch/hppa64/hppa64/db_interface.c
sys/arch/i386/i386/db_trace.c
sys/arch/i386/i386/i686_mem.c
sys/arch/m88k/m88k/db_trace.c
sys/arch/mips64/mips64/db_machdep.c
sys/arch/powerpc/ddb/db_trace.c
sys/arch/sh/sh/db_trace.c
sys/arch/sparc/sparc/db_interface.c
sys/arch/sparc64/sparc64/db_interface.c
sys/arch/vax/vax/db_machdep.c