projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39c3e64
)
hdt: fix hdt-cli.c compilation warning
author
Pierre-Alexandre Meyer
<pierre@mouraf.org>
Tue, 1 Sep 2009 20:41:35 +0000
(13:41 -0700)
committer
Pierre-Alexandre Meyer
<pierre@mouraf.org>
Tue, 1 Sep 2009 20:41:35 +0000
(13:41 -0700)
We are missing a const qualifier.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/hdt/hdt-cli.c
patch
|
blob
|
history
diff --git
a/com32/hdt/hdt-cli.c
b/com32/hdt/hdt-cli.c
index
0d38fb2
..
222480e
100644
(file)
--- a/
com32/hdt/hdt-cli.c
+++ b/
com32/hdt/hdt-cli.c
@@
-54,8
+54,8
@@
struct cli_mode_descr *list_modes[] = {
* array of variables. There is no easy way around it besides declaring the arrays of
* strings first.
*/
-char *exit_aliases[] = {"q", "quit"};
-char *help_aliases[] = {"h", "?"};
+c
onst c
har *exit_aliases[] = {"q", "quit"};
+c
onst c
har *help_aliases[] = {"h", "?"};
/* List of aliases */
struct cli_alias hdt_aliases[] = {