Use the ARRAY_SIZE() macro where appropriate.
commitb1503cda1e78cad4dca522ddbb4c69f4c6869bcd
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 22 Dec 2008 20:33:55 +0000 (22 20:33 +0000)
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 22 Dec 2008 20:33:55 +0000 (22 20:33 +0000)
tree26edd30543fcb27ae90f8762558ea878df42ec57
parent5626b017d623cb88d973b53bca11613c766b1715
Use the ARRAY_SIZE() macro where appropriate.

Change from v1:
  Avoid changing the existing coding style in certain files.

Signed-off-by: Stuart Brady <stuart.brady@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6120 c046a42c-6fe2-441c-8c8c-71466251a162
27 files changed:
audio/audio.c
audio/fmodaudio.c
darwin-user/commpage.c
darwin-user/syscall.c
hw/ac97.c
hw/dma.c
hw/e1000.c
hw/fdc.c
hw/max7310.c
hw/nseries.c
hw/rc4030.c
hw/sb16.c
hw/sh_intc.c
hw/sh_intc.h
hw/sm501.c
hw/usb-net.c
hw/vmware_vga.c
linux-user/strace.c
target-cris/translate.c
target-i386/helper.c
target-mips/translate_init.c
target-ppc/translate_init.c
target-sh4/translate.c
target-sparc/helper.c
tcg/ppc/tcg-target.c
tcg/ppc64/tcg-target.c
vl.c