diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-03-31 18:44:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-03-31 18:44:43 +0000 |
commit | a4a66f71328fe2cd216cbc1e99285de28bbaed1e (patch) | |
tree | a6f34e79b1e94cc1bce5e7086885363408a73b74 /sim/bfin | |
parent | 3a4ae681237c26ac55603f3a92c92fd748108cd2 (diff) | |
download | gdb-a4a66f71328fe2cd216cbc1e99285de28bbaed1e.zip gdb-a4a66f71328fe2cd216cbc1e99285de28bbaed1e.tar.gz gdb-a4a66f71328fe2cd216cbc1e99285de28bbaed1e.tar.bz2 |
sim: bfin: include devices.h to fix build warnings
The place where these funcs get defined do not include the header that
declares their prototypes. Add that to fix -Wmissing-prototypes:
devices.c:59:1: warning: no previous prototype for 'dv_bfin_mmr_invalid'
devices.c:66:1: warning: no previous prototype for 'dv_bfin_mmr_require'
devices.c:99:1: warning: no previous prototype for 'dv_bfin_mmr_check'
devices.c:159:14: warning: no previous prototype for 'dv_get_bus_num'
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/bfin')
-rw-r--r-- | sim/bfin/ChangeLog | 4 | ||||
-rw-r--r-- | sim/bfin/devices.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index 0ca2390..cdaf5ba 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,7 @@ +2012-03-31 Mike Frysinger <vapier@gentoo.org> + + * devices.c: Include devices.h. + 2012-03-24 Mike Frysinger <vapier@gentoo.org> * aclocal.m4, config.in, configure: Regenerate. diff --git a/sim/bfin/devices.c b/sim/bfin/devices.c index d3fa95f..b18f1b6 100644 --- a/sim/bfin/devices.c +++ b/sim/bfin/devices.c @@ -23,6 +23,7 @@ #include "sim-main.h" #include "sim-hw.h" #include "hw-device.h" +#include "devices.h" #include "dv-bfin_cec.h" #include "dv-bfin_mmu.h" |