sim: m68hc11: fix up various prototype related warnings
authorMike Frysinger <vapier@gentoo.org>
Sat, 13 Aug 2016 08:41:57 +0000 (01:41 -0700)
committerMike Frysinger <vapier@gentoo.org>
Sun, 14 Aug 2016 05:46:27 +0000 (22:46 -0700)
commit527aaa4a3143afedd8dd85aa70862328a9dbe627
tree5110c46b53b2d0cfb648a3fab594c5b89aa5b2df
parent4c171e25a8c83fc26b78430fa632fa9e64f61050
sim: m68hc11: fix up various prototype related warnings

A few funcs are only used locally, so mark them static to avoid warnings
due to -Wmissing-prototypes.

Some funcs cast the return value wrong, so drop them (and let void * just
work by default).

Update some prototypes to be new style.
sim/m68hc11/ChangeLog
sim/m68hc11/dv-m68hc11eepr.c
sim/m68hc11/dv-m68hc11sio.c
sim/m68hc11/dv-m68hc11spi.c
sim/m68hc11/dv-m68hc11tim.c
sim/m68hc11/dv-nvram.c
sim/m68hc11/emulos.c
sim/m68hc11/gencode.c