summaryrefslogtreecommitdiff
path: root/src/target/cortex_m3.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-08 13:06:41 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-08 13:06:41 -0800
commite7acbdf5dbfcea427fc8b0fc7e8dd2e1005a4cc8 (patch)
tree426c05e5d407f1462e0bcd40744ebfcaae00631d /src/target/cortex_m3.c
parentac19fc0da7e9b5542d5bcb9d6a6370efdeb2f1ee (diff)
downloadopenocd+libswd-e7acbdf5dbfcea427fc8b0fc7e8dd2e1005a4cc8.tar.gz
openocd+libswd-e7acbdf5dbfcea427fc8b0fc7e8dd2e1005a4cc8.tar.bz2
openocd+libswd-e7acbdf5dbfcea427fc8b0fc7e8dd2e1005a4cc8.tar.xz
openocd+libswd-e7acbdf5dbfcea427fc8b0fc7e8dd2e1005a4cc8.zip
target: move 'extern' decls to *.h files
The exception being declarations for drivers. Those should be split out in some clean way -- like driver add/remove calls made by initialization code -- but that's for another day. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/cortex_m3.c')
-rw-r--r--src/target/cortex_m3.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/target/cortex_m3.c b/src/target/cortex_m3.c
index bdd32334..6bc427a4 100644
--- a/src/target/cortex_m3.c
+++ b/src/target/cortex_m3.c
@@ -52,11 +52,6 @@ static void cortex_m3_enable_watchpoints(struct target *target);
static int cortex_m3_store_core_reg_u32(struct target *target,
enum armv7m_regtype type, uint32_t num, uint32_t value);
-#ifdef ARMV7_GDB_HACKS
-extern uint8_t armv7m_gdb_dummy_cpsr_value[];
-extern struct reg armv7m_gdb_dummy_cpsr_reg;
-#endif
-
static int cortexm3_dap_read_coreregister_u32(struct swjdp_common *swjdp,
uint32_t *value, int regnum)
{