]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/tui/tui-stack.c
Constify add_com
[thirdparty/binutils-gdb.git] / gdb / tui / tui-stack.c
index ce7c5ee732411680e629c6cb0386edcbb4c58995..4a69b97b9dc3a5ec5d29a290525e232f33b87606 100644 (file)
@@ -53,7 +53,7 @@ static int tui_set_locator_info (struct gdbarch *gdbarch,
                                 const char *procname,
                                  int lineno, CORE_ADDR addr);
 
-static void tui_update_command (char *, int);
+static void tui_update_command (const char *, int);
 \f
 
 /* Create the status line to display as much information as we can on
@@ -497,7 +497,7 @@ _initialize_tui_stack (void)
 
 /* Command to update the display with the current execution point.  */
 static void
-tui_update_command (char *arg, int from_tty)
+tui_update_command (const char *arg, int from_tty)
 {
   char cmd[sizeof("frame 0")];