hdt: fix hdt-cli.c compilation warning
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Tue, 1 Sep 2009 20:41:35 +0000 (13:41 -0700)
committerPierre-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

index 0d38fb2..222480e 100644 (file)
@@ -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", "?"};
+const char *exit_aliases[] = {"q", "quit"};
+const char *help_aliases[] = {"h", "?"};
 
 /* List of aliases */
 struct cli_alias hdt_aliases[] = {