diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2012-01-04 05:21:52 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2012-01-04 05:21:52 +0000 |
commit | b9594976701accc895d22f0ace0e4397bade0f4c (patch) | |
tree | 77d65cc4c7f442ccc2a39f8097f540c4be8fc08f /firmware | |
parent | ec398340cd9ebe2dea4181665afa1fd7419bc2d3 (diff) |
dbg_ports(): remove duplicate prototype
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31558 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
22 files changed, 6 insertions, 19 deletions
diff --git a/firmware/target/arm/as3525/debug-target.h b/firmware/target/arm/as3525/debug-target.h index 1359e6a00e..8d533aa8a1 100644 --- a/firmware/target/arm/as3525/debug-target.h +++ b/firmware/target/arm/as3525/debug-target.h @@ -25,5 +25,4 @@ #define DEBUG_CANCEL BUTTON_LEFT bool dbg_hw_info(void); -bool dbg_ports(void); #endif diff --git a/firmware/target/arm/at91sam/lyre_proto1/debug-lyre_proto1.c b/firmware/target/arm/at91sam/lyre_proto1/debug-lyre_proto1.c index 5277afc348..320833a55b 100644 --- a/firmware/target/arm/at91sam/lyre_proto1/debug-lyre_proto1.c +++ b/firmware/target/arm/at91sam/lyre_proto1/debug-lyre_proto1.c @@ -19,9 +19,8 @@ * ****************************************************************************/ -#include "at91sam9260.h" #include <stdbool.h> -#include "debug-target.h" +#include "system.h" bool dbg_ports(void) { diff --git a/firmware/target/arm/at91sam/lyre_proto1/debug-target.h b/firmware/target/arm/at91sam/lyre_proto1/debug-target.h index 59dd58cb32..946215b846 100644 --- a/firmware/target/arm/at91sam/lyre_proto1/debug-target.h +++ b/firmware/target/arm/at91sam/lyre_proto1/debug-target.h @@ -21,6 +21,5 @@ #include <stdbool.h> -bool dbg_ports(void); bool dbg_hw_info(void); diff --git a/firmware/target/arm/imx233/debug-target.h b/firmware/target/arm/imx233/debug-target.h index 402514ae83..28a4c8d004 100644 --- a/firmware/target/arm/imx233/debug-target.h +++ b/firmware/target/arm/imx233/debug-target.h @@ -25,6 +25,5 @@ bool dbg_hw_target_info(void); bool dbg_hw_info(void); -bool dbg_ports(void); #endif /* DEBUG_TARGET_H */ diff --git a/firmware/target/arm/imx31/debug-target.h b/firmware/target/arm/imx31/debug-target.h index 25fd5d872b..06b1af3e85 100644 --- a/firmware/target/arm/imx31/debug-target.h +++ b/firmware/target/arm/imx31/debug-target.h @@ -23,7 +23,6 @@ #define DEBUG_CANCEL BUTTON_BACK bool dbg_hw_info(void); -bool dbg_ports(void); bool __dbg_dvfs_dptc(void); #endif /* DEBUG_TARGET_H */ diff --git a/firmware/target/arm/pnx0101/debug-pnx0101.c b/firmware/target/arm/pnx0101/debug-pnx0101.c index 3a556e66e3..8dae2e4925 100644 --- a/firmware/target/arm/pnx0101/debug-pnx0101.c +++ b/firmware/target/arm/pnx0101/debug-pnx0101.c @@ -1,4 +1,4 @@ -/* just empty stub */ +#include <stdbool.h> bool dbg_ports() { return false; diff --git a/firmware/target/arm/pnx0101/debug-target.h b/firmware/target/arm/pnx0101/debug-target.h index 4ed4cede92..5c4c10b4b5 100644 --- a/firmware/target/arm/pnx0101/debug-target.h +++ b/firmware/target/arm/pnx0101/debug-target.h @@ -21,4 +21,3 @@ #if CONFIG_KEYPAD == IRIVER_IFP7XX_PAD # define DEBUG_CANCEL BUTTON_PLAY #endif /* key definitions */ -bool dbg_ports(void); diff --git a/firmware/target/arm/pp/debug-target.h b/firmware/target/arm/pp/debug-target.h index b7a1f7e5cb..f60de4d66d 100644 --- a/firmware/target/arm/pp/debug-target.h +++ b/firmware/target/arm/pp/debug-target.h @@ -44,5 +44,4 @@ #elif (CONFIG_KEYPAD == PBELL_VIBE500_PAD) # define DEBUG_CANCEL BUTTON_CANCEL #endif -bool dbg_ports(void); bool dbg_hw_info(void); diff --git a/firmware/target/arm/rk27xx/debug-rk27xx.c b/firmware/target/arm/rk27xx/debug-rk27xx.c index 037af7ced5..ba2099dfd5 100644 --- a/firmware/target/arm/rk27xx/debug-rk27xx.c +++ b/firmware/target/arm/rk27xx/debug-rk27xx.c @@ -21,6 +21,7 @@ #include <stdbool.h> #include "config.h" +#include "system.h" #include "kernel.h" #include "debug-target.h" #include "button.h" diff --git a/firmware/target/arm/rk27xx/debug-target.h b/firmware/target/arm/rk27xx/debug-target.h index fb4abaeed7..42afc99f6d 100644 --- a/firmware/target/arm/rk27xx/debug-target.h +++ b/firmware/target/arm/rk27xx/debug-target.h @@ -31,7 +31,6 @@ #endif bool dbg_hw_info(void); -bool dbg_ports(void); #endif /* _DEBUG_TARGET_H_ */ diff --git a/firmware/target/arm/s3c2440/debug-target.h b/firmware/target/arm/s3c2440/debug-target.h index 9e83da6f48..72b0b252f1 100644 --- a/firmware/target/arm/s3c2440/debug-target.h +++ b/firmware/target/arm/s3c2440/debug-target.h @@ -26,5 +26,4 @@ #endif bool dbg_hw_info(void); -bool dbg_ports(void); diff --git a/firmware/target/arm/s5l8700/debug-s5l8700.c b/firmware/target/arm/s5l8700/debug-s5l8700.c index 3631a474ed..c47c8e74af 100644 --- a/firmware/target/arm/s5l8700/debug-s5l8700.c +++ b/firmware/target/arm/s5l8700/debug-s5l8700.c @@ -21,6 +21,7 @@ #include <stdbool.h> #include "config.h" +#include "system.h" #include "kernel.h" #include "debug-target.h" #include "button.h" diff --git a/firmware/target/arm/s5l8700/debug-target.h b/firmware/target/arm/s5l8700/debug-target.h index 95f2f94795..0d32095ae4 100644 --- a/firmware/target/arm/s5l8700/debug-target.h +++ b/firmware/target/arm/s5l8700/debug-target.h @@ -27,7 +27,6 @@ #define DEBUG_CANCEL BUTTON_MENU bool dbg_hw_info(void); -bool dbg_ports(void); #endif /* _DEBUG_TARGET_H_ */ diff --git a/firmware/target/arm/s5l8702/debug-s5l8702.c b/firmware/target/arm/s5l8702/debug-s5l8702.c index f49595aa00..9d8d3e6579 100644 --- a/firmware/target/arm/s5l8702/debug-s5l8702.c +++ b/firmware/target/arm/s5l8702/debug-s5l8702.c @@ -20,6 +20,7 @@ ****************************************************************************/ #include <stdbool.h> +#include "system.h" #include "config.h" #include "kernel.h" #include "debug-target.h" diff --git a/firmware/target/arm/s5l8702/debug-target.h b/firmware/target/arm/s5l8702/debug-target.h index a493c0e3dd..b5c1511bd0 100644 --- a/firmware/target/arm/s5l8702/debug-target.h +++ b/firmware/target/arm/s5l8702/debug-target.h @@ -27,7 +27,6 @@ #define DEBUG_CANCEL BUTTON_MENU bool dbg_hw_info(void); -bool dbg_ports(void); #endif /* _DEBUG_TARGET_H_ */ diff --git a/firmware/target/arm/tcc77x/debug-target.h b/firmware/target/arm/tcc77x/debug-target.h index c985751a23..38881ec663 100644 --- a/firmware/target/arm/tcc77x/debug-target.h +++ b/firmware/target/arm/tcc77x/debug-target.h @@ -20,5 +20,4 @@ ****************************************************************************/ bool dbg_hw_info(void); -bool dbg_ports(void); diff --git a/firmware/target/arm/tcc780x/debug-target.h b/firmware/target/arm/tcc780x/debug-target.h index c985751a23..38881ec663 100644 --- a/firmware/target/arm/tcc780x/debug-target.h +++ b/firmware/target/arm/tcc780x/debug-target.h @@ -20,5 +20,4 @@ ****************************************************************************/ bool dbg_hw_info(void); -bool dbg_ports(void); diff --git a/firmware/target/arm/tms320dm320/debug-target.h b/firmware/target/arm/tms320dm320/debug-target.h index 5fc0c98ce0..f634082d3c 100644 --- a/firmware/target/arm/tms320dm320/debug-target.h +++ b/firmware/target/arm/tms320dm320/debug-target.h @@ -20,4 +20,3 @@ ****************************************************************************/ bool dbg_hw_info(void); -bool dbg_ports(void); diff --git a/firmware/target/coldfire/debug-target.h b/firmware/target/coldfire/debug-target.h index 71ff75360c..b5b81f7482 100644 --- a/firmware/target/coldfire/debug-target.h +++ b/firmware/target/coldfire/debug-target.h @@ -32,5 +32,4 @@ (CONFIG_KEYPAD == MPIO_HD300_PAD) # define DEBUG_CANCEL BUTTON_REC #endif -bool dbg_ports(void); bool dbg_hw_info(void); diff --git a/firmware/target/mips/ingenic_jz47xx/debug-jz4740.c b/firmware/target/mips/ingenic_jz47xx/debug-jz4740.c index d7170567f9..5e064597b6 100644 --- a/firmware/target/mips/ingenic_jz47xx/debug-jz4740.c +++ b/firmware/target/mips/ingenic_jz47xx/debug-jz4740.c @@ -20,6 +20,7 @@ ****************************************************************************/ #include "config.h" +#include "system.h" #include "jz4740.h" #include "debug-target.h" #include <stdarg.h> diff --git a/firmware/target/mips/ingenic_jz47xx/debug-target.h b/firmware/target/mips/ingenic_jz47xx/debug-target.h index f51c5bf8da..4709bd344e 100644 --- a/firmware/target/mips/ingenic_jz47xx/debug-target.h +++ b/firmware/target/mips/ingenic_jz47xx/debug-target.h @@ -23,6 +23,5 @@ #define __DEBUG_TARGET_H_ bool dbg_hw_info(void); -bool dbg_ports(void); #endif /* __DEBUG_TARGET_H_ */ diff --git a/firmware/target/sh/debug-target.h b/firmware/target/sh/debug-target.h index f738795ea6..6f46a1f2b4 100644 --- a/firmware/target/sh/debug-target.h +++ b/firmware/target/sh/debug-target.h @@ -24,5 +24,4 @@ #elif CONFIG_KEYPAD == ONDIO_PAD # define DEBUG_CANCEL BUTTON_MENU #endif -bool dbg_ports(void); bool dbg_hw_info(void); |