Date: Fri, 21 Apr 2006 21:50:39 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 95831 for review Message-ID: <200604212150.k3LLod7A012796@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95831 Change 95831 by imp@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"},
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604212150.k3LLod7A012796>