diff options
author | Tom Tromey <tom@tromey.com> | 2017-09-12 18:38:19 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-09-27 08:44:48 -0600 |
commit | 442019e118afb6bdbae490c0b072e8f024f2d9a2 (patch) | |
tree | b679d4290b2894f389ab8015e27bfcabe1e8c280 /gdb/remote-fileio.c | |
parent | 2983f7cbdb245e516799f1a5b8ddc0450bce98c9 (diff) | |
download | gdb-442019e118afb6bdbae490c0b072e8f024f2d9a2.zip gdb-442019e118afb6bdbae490c0b072e8f024f2d9a2.tar.gz gdb-442019e118afb6bdbae490c0b072e8f024f2d9a2.tar.bz2 |
Constify some commands in remote-fileio.c
gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* remote-fileio.c (set_system_call_allowed)
(show_system_call_allowed): Constify.
Diffstat (limited to 'gdb/remote-fileio.c')
-rw-r--r-- | gdb/remote-fileio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-fileio.c b/gdb/remote-fileio.c index 252b423..c305171 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 " |