]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/top.c
Constify add_com
[thirdparty/binutils-gdb.git] / gdb / top.c
index 14abfecbd4b5139733e4309e5e32c47fc49f9665..8ebdc07cb1089cdd0b0b557d44f9a0ec24e6ff3d 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1677,7 +1677,7 @@ input_interactive_p (struct ui *ui)
 }
 \f
 static void
-dont_repeat_command (char *ignored, int from_tty)
+dont_repeat_command (const char *ignored, int from_tty)
 {
   /* Can't call dont_repeat here because we're not necessarily reading
      from stdin.  */