From 55c24dcce32fe762d0da8f994afc070a6b271697 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Wed, 17 May 2017 14:24:25 +0100 Subject: test: make test_aliases[] const Although the elements of `test_aliases[]` are of type `const char *`, the elements themselves are not const-qualified. Make them `const`. Signed-off-by: Ian Abbott Signed-off-by: Sascha Hauer --- commands/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/test.c b/commands/test.c index d0f63c1391..c4f493860f 100644 --- a/commands/test.c +++ b/commands/test.c @@ -224,7 +224,7 @@ out: return expr; } -static const char *test_aliases[] = { "[", NULL}; +static const char * const test_aliases[] = { "[", NULL}; BAREBOX_CMD_HELP_START(test) BAREBOX_CMD_HELP_TEXT("Options:") -- cgit v1.2.3