aboutsummaryrefslogtreecommitdiff
path: root/src/rtos/rtos.c
diff options
context:
space:
mode:
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>2015-12-13 22:18:14 +0100
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2016-02-29 20:32:31 +0000
commit7c957b601f7aeabc537519597057e63f2ae60320 (patch)
tree4bbc858d5cfac3c1140ba2fa51b46c97f26302d3 /src/rtos/rtos.c
parent9721e9dd71d3a6be911d0c650ca824348eee2bc0 (diff)
downloadriscv-openocd-7c957b601f7aeabc537519597057e63f2ae60320.zip
riscv-openocd-7c957b601f7aeabc537519597057e63f2ae60320.tar.gz
riscv-openocd-7c957b601f7aeabc537519597057e63f2ae60320.tar.bz2
jim-nvp: Make Jim_GetOpt_String const-correct
Change-Id: Iae9824f6ff47a1944e674e59bfaa970904645082 Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: http://openocd.zylin.com/3178 Tested-by: jenkins
Diffstat (limited to 'src/rtos/rtos.c')
-rw-r--r--src/rtos/rtos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtos/rtos.c b/src/rtos/rtos.c
index 528546e..a84e6e0 100644
--- a/src/rtos/rtos.c
+++ b/src/rtos/rtos.c
@@ -104,7 +104,7 @@ static int os_alloc_create(struct target *target, struct rtos_type *ostype)
int rtos_create(Jim_GetOptInfo *goi, struct target *target)
{
int x;
- char *cp;
+ const char *cp;
struct Jim_Obj *res;
if (!goi->isconfigure && goi->argc != 0) {