aboutsummaryrefslogtreecommitdiff
path: root/src/target/armv7m.h
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2014-09-11 22:14:31 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2014-10-06 11:57:40 +0000
commit3160c66408af858c3064e54fb14f074e54ac6701 (patch)
tree26c57bb046e4c6157a524a31f7a41b4559c00fcc /src/target/armv7m.h
parentb675edcc95935cbdf77002db1e261536026f4cbe (diff)
downloadriscv-openocd-3160c66408af858c3064e54fb14f074e54ac6701.zip
riscv-openocd-3160c66408af858c3064e54fb14f074e54ac6701.tar.gz
riscv-openocd-3160c66408af858c3064e54fb14f074e54ac6701.tar.bz2
target: constify structures
Change-Id: I875cfab8dec4ade72ed9c9cd7d52baaca182a1ef Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/2295 Tested-by: jenkins
Diffstat (limited to 'src/target/armv7m.h')
-rw-r--r--src/target/armv7m.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/armv7m.h b/src/target/armv7m.h
index 575912f..86c9aee 100644
--- a/src/target/armv7m.h
+++ b/src/target/armv7m.h
@@ -33,7 +33,7 @@
extern const int armv7m_psp_reg_map[];
extern const int armv7m_msp_reg_map[];
-char *armv7m_exception_string(int number);
+const char *armv7m_exception_string(int number);
/* offsets into armv7m core register cache */
enum {