summaryrefslogtreecommitdiffstats
path: root/common/command.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:58 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:58 +0200
commitfe2d505d4df0ebae0e519abeb2cccfeb10ef80ac (patch)
tree3511c0d06d4de0cc65af6710d1e2bfae53e9e8b7 /common/command.c
parentdbf8680a0a9a983e8edd320d1ea812f7d6a1f1c8 (diff)
downloadbarebox-fe2d505d4df0ebae0e519abeb2cccfeb10ef80ac.tar.gz
barebox-fe2d505d4df0ebae0e519abeb2cccfeb10ef80ac.tar.xz
svn_rev_481
make more char * const, fix compiler warnings
Diffstat (limited to 'common/command.c')
-rw-r--r--common/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/command.c b/common/command.c
index dfe672f2ac..9d715e9418 100644
--- a/common/command.c
+++ b/common/command.c
@@ -92,7 +92,7 @@ do_readline (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return 0;
}
-static char cmd_readline_help[] =
+static __maybe_unused char cmd_readline_help[] =
"Usage: readline <prompt> VAR\n"
"readline reads a line of user input into variable VAR.\n";
@@ -317,7 +317,7 @@ int do_help (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
}
}
-static char cmd_help_help[] =
+static __maybe_unused char cmd_help_help[] =
"Show help information (for 'command')\n"
"'help' prints online help for the monitor commands.\n\n"
"Without arguments, it prints a short usage message for all commands.\n\n"