From: Tom Tromey Date: Wed, 13 Sep 2017 00:38:19 +0000 (-0600) Subject: Constify some commands in remote-fileio.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=442019e118afb6bdbae490c0b072e8f024f2d9a2;p=binutils-gdb.git Constify some commands in remote-fileio.c gdb/ChangeLog 2017-09-27 Tom Tromey * remote-fileio.c (set_system_call_allowed) (show_system_call_allowed): Constify. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 28ca1468cdc..8ec4a7a79e7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-09-27 Tom Tromey + + * remote-fileio.c (set_system_call_allowed) + (show_system_call_allowed): Constify. + 2017-09-27 Tom Tromey * tracepoint.c (delete_trace_variable_command) diff --git a/gdb/remote-fileio.c b/gdb/remote-fileio.c index 252b423bfab..c305171f649 100644 --- a/gdb/remote-fileio.c +++ b/gdb/remote-fileio.c @@ -1272,7 +1272,7 @@ remote_fileio_to_host_stat (struct fio_stat *fst, struct stat *st) static void -set_system_call_allowed (char *args, int from_tty) +set_system_call_allowed (const char *args, int from_tty) { if (args) { @@ -1289,7 +1289,7 @@ set_system_call_allowed (char *args, int from_tty) } static void -show_system_call_allowed (char *args, int from_tty) +show_system_call_allowed (const char *args, int from_tty) { if (args) error (_("Garbage after \"show remote "