sim: include stdlib.h for atoi()
authorMike Frysinger <vapier@gentoo.org>
Tue, 5 Jan 2021 01:17:37 +0000 (20:17 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 5 Jan 2021 01:17:37 +0000 (20:17 -0500)
commit3d52735bab7e6df662381f51ee00b10e170cd6e9
tree92883608f3985539924152ceef74cd56f2706999
parent9416af6e7d5d421b0c737d7f80afd67ce9926f11
sim: include stdlib.h for atoi()

Make sure the files using atoi() include stdlib.h for its prototype.
These files were relying on it being included implicitly by others
which isn't guaranteed, and newer toolchains produce warnings.
sim/arm/ChangeLog
sim/arm/wrapper.c
sim/bfin/ChangeLog
sim/bfin/machs.c
sim/igen/ChangeLog
sim/igen/gen-icache.c
sim/igen/igen.c
sim/ppc/ChangeLog
sim/ppc/gen-icache.c
sim/ppc/igen.c