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.
This commit is contained in:
parent
57f5a81bd2
commit
4ada038f6a
|
@ -1,3 +1,7 @@
|
||||||
|
2017-09-27 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
|
* cp-abi.c (set_cp_abi_cmd, show_cp_abi_cmd): Constify.
|
||||||
|
|
||||||
2017-09-27 Tom Tromey <tom@tromey.com>
|
2017-09-27 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
* arc-tdep.c (dump_arc_instruction_command): Constify.
|
* arc-tdep.c (dump_arc_instruction_command): Constify.
|
||||||
|
|
|
@ -341,7 +341,7 @@ list_cp_abis (int from_tty)
|
||||||
argument is given. */
|
argument is given. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
set_cp_abi_cmd (char *args, int from_tty)
|
set_cp_abi_cmd (const char *args, int from_tty)
|
||||||
{
|
{
|
||||||
if (args == NULL)
|
if (args == NULL)
|
||||||
{
|
{
|
||||||
|
@ -378,7 +378,7 @@ cp_abi_completer (struct cmd_list_element *ignore,
|
||||||
/* Show the currently selected C++ ABI. */
|
/* Show the currently selected C++ ABI. */
|
||||||
|
|
||||||
static void
|
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;
|
struct ui_out *uiout = current_uiout;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue