From 50cc8c5412e804480a10ecdd9546c7b6ad21760e Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 4 Apr 2008 11:46:55 +0200 Subject: Subject: [PATCH] [general] Fixed constant strings in data section issue For practical reasons I changed all string literals assumed to be constant to reside in .rodata subsection at end of .text section. Signed-off-by: Carsten Schlote Signed-off-by: Sascha Hauer --- commands/readline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/readline.c') diff --git a/commands/readline.c b/commands/readline.c index 921b72aeb8..cd24f3508a 100644 --- a/commands/readline.c +++ b/commands/readline.c @@ -47,7 +47,7 @@ static int do_readline (cmd_tbl_t *cmdtp, int argc, char *argv[]) return 0; } -static __maybe_unused char cmd_readline_help[] = +static const __maybe_unused char cmd_readline_help[] = "Usage: readline VAR\n" "readline reads a line of user input into variable VAR.\n"; -- cgit v1.2.3