]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/common/sim-hw.c
sim: add missing values to array initializers
authorMike Frysinger <vapier@gentoo.org>
Mon, 12 Apr 2010 16:53:33 +0000 (16:53 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 12 Apr 2010 16:53:33 +0000 (16:53 +0000)
commit21cf617c69031111357d78c1fe10746fe5ef4f6e
tree818029eff9b364d5d0ec7e5fab0dd3a655a144ae
parent0d18d7205b3ab45b0e44465111e178e83c8555da
sim: add missing values to array initializers

The sim code has a lot of static initializer for options and devices, but
since they aren't using newer struct style, they have to specify a value
for every option otherwise gcc spits a lot of warnings about "missing
initializer".  So add NULL/0 stubs for pointers/values.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 files changed:
sim/common/ChangeLog
sim/common/dv-core.c
sim/common/dv-glue.c
sim/common/dv-pal.c
sim/common/dv-sockser.c
sim/common/hw-ports.c
sim/common/sim-hw.c
sim/common/sim-model.c
sim/common/sim-options.c
sim/common/sim-profile.c
sim/common/sim-trace.c
sim/common/sim-watch.c