diff options
author | Tom Tromey <tom@tromey.com> | 2017-09-09 20:59:50 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-09-27 08:44:19 -0600 |
commit | 4ada038f6a8330b27769ad0227c7f716aa29b649 (patch) | |
tree | 816248f9c118047174c54d2e7de5e47b8b3e6b24 /gdb/cp-abi.c | |
parent | 57f5a81bd240459edbdac1628800291e7535ed02 (diff) | |
download | gdb-4ada038f6a8330b27769ad0227c7f716aa29b649.zip gdb-4ada038f6a8330b27769ad0227c7f716aa29b649.tar.gz gdb-4ada038f6a8330b27769ad0227c7f716aa29b649.tar.bz2 |
Constify two functions in cp-abi.c
gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* cp-abi.c (set_cp_abi_cmd, show_cp_abi_cmd): Constify.
Diffstat (limited to 'gdb/cp-abi.c')
-rw-r--r-- | gdb/cp-abi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cp-abi.c b/gdb/cp-abi.c index 49fab32..11b8424 100644 --- a/gdb/cp-abi.c +++ b/gdb/cp-abi.c @@ -341,7 +341,7 @@ list_cp_abis (int from_tty) argument is given. */ static void -set_cp_abi_cmd (char *args, int from_tty) +set_cp_abi_cmd (const char *args, int from_tty) { if (args == NULL) { @@ -378,7 +378,7 @@ cp_abi_completer (struct cmd_list_element *ignore, /* Show the currently selected C++ ABI. */ static void -show_cp_abi_cmd (char *args, int from_tty) +show_cp_abi_cmd (const char *args, int from_tty) { struct ui_out *uiout = current_uiout; |