Constify add_prefix_cmd
[deliverable/binutils-gdb.git] / gdb / serial.c
index 91fdcbb3677a94f16fd30aa3cb7a53a20d473708..686654913073062e7e62aa5149ab97d0fd155983 100644 (file)
@@ -627,7 +627,7 @@ static struct cmd_list_element *serial_set_cmdlist;
 static struct cmd_list_element *serial_show_cmdlist;
 
 static void
-serial_set_cmd (char *args, int from_tty)
+serial_set_cmd (const char *args, int from_tty)
 {
   printf_unfiltered ("\"set serial\" must be followed "
                     "by the name of a command.\n");
@@ -635,7 +635,7 @@ serial_set_cmd (char *args, int from_tty)
 }
 
 static void
-serial_show_cmd (char *args, int from_tty)
+serial_show_cmd (const char *args, int from_tty)
 {
   cmd_show_list (serial_show_cmdlist, from_tty, "");
 }
This page took 0.024775 seconds and 4 git commands to generate.