diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2014-09-11 22:14:58 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2014-10-06 11:57:44 +0000 |
commit | 48a681c741993e61f2a9404b75b73d011b9e184e (patch) | |
tree | 71a1293db3f328f194c4d8137e28933883ad176d /src/helper/log.c | |
parent | 3160c66408af858c3064e54fb14f074e54ac6701 (diff) | |
download | riscv-openocd-48a681c741993e61f2a9404b75b73d011b9e184e.zip riscv-openocd-48a681c741993e61f2a9404b75b73d011b9e184e.tar.gz riscv-openocd-48a681c741993e61f2a9404b75b73d011b9e184e.tar.bz2 |
helper: constify log_strings
Change-Id: I5bdd8958e79b754d56bb7aee2892856e557eed76
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/2296
Tested-by: jenkins
Diffstat (limited to 'src/helper/log.c')
-rw-r--r-- | src/helper/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/log.c b/src/helper/log.c index cb1fbac..c15b95d 100644 --- a/src/helper/log.c +++ b/src/helper/log.c @@ -52,7 +52,7 @@ static long long current_time; static long long start; -static char *log_strings[5] = { +static const char * const log_strings[5] = { "User : ", "Error: ", "Warn : ", /* want a space after each colon, all same width, colons aligned */ |