sim: clean up C11 header includes
authorMike Frysinger <vapier@gentoo.org>
Sat, 9 Jan 2021 08:56:10 +0000 (03:56 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 11 Jan 2021 13:05:54 +0000 (08:05 -0500)
commit68ed2854284d415a71efd856a40343f550881ede
treef00f87cc7628c8e82de418bacc5d941db46c2481
parenta8aa72b913e78407e5de4fefd22f9b98e4466f30
sim: clean up C11 header includes

Since we require C11 now, we can assume many headers exist, and
clean up all of the conditional includes.  It's not like any of
this code actually accounted for the headers not existing, just
whether we could include them.

The strings.h cleanup is a little nuanced: it isn't in C11, but
every use of it in the codebase will include strings.h only if
string.h doesn't exist.  Since we now assume the C11 string.h
exists, we'll never include strings.h, so we can delete it.
182 files changed:
sim/aarch64/ChangeLog
sim/aarch64/config.in
sim/aarch64/configure
sim/arm/ChangeLog
sim/arm/config.in
sim/arm/configure
sim/avr/ChangeLog
sim/avr/config.in
sim/avr/configure
sim/avr/interp.c
sim/bfin/ChangeLog
sim/bfin/config.in
sim/bfin/configure
sim/bpf/ChangeLog
sim/bpf/config.in
sim/bpf/configure
sim/common/ChangeLog
sim/common/acinclude.m4
sim/common/callback.c
sim/common/cgen-scache.c
sim/common/dv-glue.c
sim/common/dv-pal.c
sim/common/dv-sockser.c
sim/common/hw-alloc.c
sim/common/hw-base.c
sim/common/hw-device.c
sim/common/hw-events.c
sim/common/hw-handles.c
sim/common/hw-ports.c
sim/common/hw-properties.c
sim/common/hw-tree.c
sim/common/nrun.c
sim/common/sim-arange.c
sim/common/sim-events.c
sim/common/sim-fpu.c
sim/common/sim-hw.c
sim/common/sim-load.c
sim/common/sim-memopt.c
sim/common/sim-options.c
sim/common/sim-profile.c
sim/common/sim-trace.c
sim/common/sim-utils.c
sim/common/sim-watch.c
sim/common/syscall.c
sim/cr16/ChangeLog
sim/cr16/config.in
sim/cr16/configure
sim/cr16/simops.c
sim/cris/ChangeLog
sim/cris/config.in
sim/cris/configure
sim/cris/configure.ac
sim/cris/dv-rv.c
sim/cris/rvdummy.c
sim/cris/sim-if.c
sim/cris/traps.c
sim/d10v/ChangeLog
sim/d10v/config.in
sim/d10v/configure
sim/d10v/interp.c
sim/d10v/simops.c
sim/erc32/ChangeLog
sim/erc32/config.in
sim/erc32/configure
sim/erc32/sis.c
sim/frv/ChangeLog
sim/frv/config.in
sim/frv/configure
sim/frv/options.c
sim/frv/sim-if.c
sim/ft32/ChangeLog
sim/ft32/config.in
sim/ft32/configure
sim/h8300/ChangeLog
sim/h8300/compile.c
sim/h8300/config.in
sim/h8300/configure
sim/igen/ChangeLog
sim/igen/configure
sim/igen/configure.ac
sim/igen/filter.c
sim/igen/lf.c
sim/igen/misc.c
sim/igen/misc.h
sim/igen/table.c
sim/iq2000/ChangeLog
sim/iq2000/config.in
sim/iq2000/configure
sim/iq2000/sim-if.c
sim/lm32/ChangeLog
sim/lm32/config.in
sim/lm32/configure
sim/lm32/sim-if.c
sim/m32c/ChangeLog
sim/m32c/config.in
sim/m32c/configure
sim/m32r/ChangeLog
sim/m32r/config.in
sim/m32r/configure
sim/m32r/sim-if.c
sim/m68hc11/ChangeLog
sim/m68hc11/config.in
sim/m68hc11/configure
sim/mcore/ChangeLog
sim/mcore/config.in
sim/mcore/configure
sim/microblaze/ChangeLog
sim/microblaze/config.in
sim/microblaze/configure
sim/mips/ChangeLog
sim/mips/config.in
sim/mips/configure
sim/mips/interp.c
sim/mn10300/ChangeLog
sim/mn10300/config.in
sim/mn10300/configure
sim/mn10300/interp.c
sim/mn10300/op_utils.c
sim/moxie/ChangeLog
sim/moxie/config.in
sim/moxie/configure
sim/msp430/ChangeLog
sim/msp430/config.in
sim/msp430/configure
sim/or1k/ChangeLog
sim/or1k/config.in
sim/or1k/configure
sim/or1k/sim-if.c
sim/ppc/ChangeLog
sim/ppc/config.in
sim/ppc/configure
sim/ppc/configure.ac
sim/ppc/cpu.c
sim/ppc/debug.c
sim/ppc/device.c
sim/ppc/device_table.c
sim/ppc/device_table.h
sim/ppc/dgen.c
sim/ppc/emul_bugapi.c
sim/ppc/emul_chirp.c
sim/ppc/emul_netbsd.c
sim/ppc/emul_unix.c
sim/ppc/filter.c
sim/ppc/gen-model.c
sim/ppc/hw_com.c
sim/ppc/hw_eeprom.c
sim/ppc/hw_nvram.c
sim/ppc/hw_opic.c
sim/ppc/hw_pal.c
sim/ppc/hw_phb.c
sim/ppc/hw_sem.c
sim/ppc/hw_shm.c
sim/ppc/lf.c
sim/ppc/main.c
sim/ppc/misc.c
sim/ppc/misc.h
sim/ppc/mon.c
sim/ppc/pk_disklabel.c
sim/ppc/psim.c
sim/ppc/registers.c
sim/ppc/sim_calls.c
sim/ppc/table.c
sim/ppc/tree.c
sim/pru/ChangeLog
sim/pru/config.in
sim/pru/configure
sim/rl78/ChangeLog
sim/rl78/config.in
sim/rl78/configure
sim/rx/ChangeLog
sim/rx/config.in
sim/rx/configure
sim/rx/main.c
sim/sh/ChangeLog
sim/sh/config.in
sim/sh/configure
sim/sh/interp.c
sim/v850/ChangeLog
sim/v850/config.in
sim/v850/configure
sim/v850/interp.c
sim/v850/simops.c