Work around GCC 6.3.1 bug
[deliverable/binutils-gdb.git] / gdb / target.c
index f2dccd23ced7034a35e843a7a6527bed5d993945..4a7589d445ec4a52d6321ee21dd6dd8f740e6bc5 100644 (file)
@@ -90,8 +90,6 @@ static int return_zero (struct target_ops *);
 
 static int return_zero_has_execution (struct target_ops *, ptid_t);
 
-static void target_command (char *, int);
-
 static struct target_ops *find_default_run_target (const char *);
 
 static struct gdbarch *default_thread_architecture (struct target_ops *ops,
@@ -188,7 +186,7 @@ static void setup_target_debug (void);
 /* The user just typed 'target' without the name of a target.  */
 
 static void
-target_command (char *arg, int from_tty)
+target_command (const char *arg, int from_tty)
 {
   fputs_filtered ("Argument required (target name).  Try `help target'\n",
                  gdb_stdout);
This page took 0.025167 seconds and 4 git commands to generate.