diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-08-13 01:41:57 -0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-08-13 22:46:27 -0700 |
commit | 527aaa4a3143afedd8dd85aa70862328a9dbe627 (patch) | |
tree | 5110c46b53b2d0cfb648a3fab594c5b89aa5b2df /sim/m68hc11/dv-m68hc11tim.c | |
parent | 4c171e25a8c83fc26b78430fa632fa9e64f61050 (diff) | |
download | gdb-527aaa4a3143afedd8dd85aa70862328a9dbe627.zip gdb-527aaa4a3143afedd8dd85aa70862328a9dbe627.tar.gz gdb-527aaa4a3143afedd8dd85aa70862328a9dbe627.tar.bz2 |
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.
Diffstat (limited to 'sim/m68hc11/dv-m68hc11tim.c')
-rw-r--r-- | sim/m68hc11/dv-m68hc11tim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/m68hc11/dv-m68hc11tim.c b/sim/m68hc11/dv-m68hc11tim.c index 317d464..c4e6c9d 100644 --- a/sim/m68hc11/dv-m68hc11tim.c +++ b/sim/m68hc11/dv-m68hc11tim.c @@ -236,7 +236,7 @@ enum event_type COMPARE_EVENT }; -void +static void m68hc11tim_timer_event (struct hw *me, void *data) { SIM_DESC sd; |