Constify some commands in inferior.c
[deliverable/binutils-gdb.git] / gdb / inferior.c
index b916909905c052499dab27c45b03b9c5edd1bceb..ba8efe23426797c7fb0585f7471df005eade3519 100644 (file)
@@ -596,7 +596,7 @@ print_inferior (struct ui_out *uiout, char *requested_inferiors)
 }
 
 static void
-detach_inferior_command (char *args, int from_tty)
+detach_inferior_command (const char *args, int from_tty)
 {
   struct thread_info *tp;
 
@@ -635,7 +635,7 @@ detach_inferior_command (char *args, int from_tty)
 }
 
 static void
-kill_inferior_command (char *args, int from_tty)
+kill_inferior_command (const char *args, int from_tty)
 {
   struct thread_info *tp;
 
@@ -676,7 +676,7 @@ kill_inferior_command (char *args, int from_tty)
 }
 
 static void
-inferior_command (char *args, int from_tty)
+inferior_command (const char *args, int from_tty)
 {
   struct inferior *inf;
   int num;
This page took 0.026477 seconds and 4 git commands to generate.