diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2014-09-11 22:07:10 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2014-10-06 11:57:29 +0000 |
commit | 03410e92dae6efbb2dc474fb7556117cc60c3f82 (patch) | |
tree | 04a55ac0bd302e71f229f568a4301b8bae47d392 /src/rtos/rtos.h | |
parent | 40815bd39a7ee9f93a95a89e978fdace081c3563 (diff) | |
download | riscv-openocd-03410e92dae6efbb2dc474fb7556117cc60c3f82.zip riscv-openocd-03410e92dae6efbb2dc474fb7556117cc60c3f82.tar.gz riscv-openocd-03410e92dae6efbb2dc474fb7556117cc60c3f82.tar.bz2 |
rtos: constify symbol names and lists
Change-Id: I72f3cd50fc6a33a178e72e169c9660e707751524
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/2292
Tested-by: jenkins
Diffstat (limited to 'src/rtos/rtos.h')
-rw-r--r-- | src/rtos/rtos.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rtos/rtos.h b/src/rtos/rtos.h index a81f67e..980d95d 100644 --- a/src/rtos/rtos.h +++ b/src/rtos/rtos.h @@ -33,7 +33,7 @@ struct reg; * Table should be terminated by an element with NULL in symbol_name */ typedef struct symbol_table_elem_struct { - char *symbol_name; + const char *symbol_name; symbol_address_t address; } symbol_table_elem_t; @@ -61,7 +61,7 @@ struct rtos { }; struct rtos_type { - char *name; + const char *name; int (*detect_rtos)(struct target *target); int (*create)(struct target *target); int (*smp_init)(struct target *target); |