aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-09 21:44:55 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:44:35 -0600
commit32faf971cd86d0a13c6b3db4626d4c8bd119e6c5 (patch)
tree9156a72f8af76b9a301cc53064b22abbf819f0a6 /gdb/top.c
parent2cf311ebadb5058afb983c61363fc2595c01b9e4 (diff)
downloadgdb-32faf971cd86d0a13c6b3db4626d4c8bd119e6c5.zip
gdb-32faf971cd86d0a13c6b3db4626d4c8bd119e6c5.tar.gz
gdb-32faf971cd86d0a13c6b3db4626d4c8bd119e6c5.tar.bz2
Constify new_ui_command
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * top.c (new_ui_command): Constify.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/top.c b/gdb/top.c
index c89e78f..4fc987c 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -354,7 +354,7 @@ open_terminal_stream (const char *name)
/* Implementation of the "new-ui" command. */
static void
-new_ui_command (char *args, int from_tty)
+new_ui_command (const char *args, int from_tty)
{
struct ui *ui;
struct interp *interp;