forked from auracaster/openocd
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
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user