PERFORCE change 95831 for review
Warner Losh
imp at FreeBSD.org
Fri Apr 21 21:50:40 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=95831
Change 95831 by imp at imp_hammer on 2006/04/21 21:50:05
Make things more constant to move them into text.
Affected files ...
.. //depot/projects/arm/src/sys/boot/arm/at91/libat91/loader_prompt.c#11 edit
Differences ...
==== //depot/projects/arm/src/sys/boot/arm/at91/libat91/loader_prompt.c#11 (text+ko) ====
@@ -45,9 +45,9 @@
// argv pointer are either NULL or point to locations in inputBuffer
static char *argv[MAX_COMMAND_PARAMS];
-static char backspaceString[] = {0x8, ' ', 0x8, 0};
+static const char *backspaceString = "\010 \010";
-static command_entry_t CommandTable[] = {
+static const command_entry_t CommandTable[] = {
{COMMAND_COPY, "c"},
{COMMAND_DUMP, "d"},
{COMMAND_EXEC, "e"},
More information about the p4-projects
mailing list