aboutsummaryrefslogtreecommitdiff
path: root/gdb/typeprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/typeprint.c')
-rw-r--r--gdb/typeprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/typeprint.c b/gdb/typeprint.c
index 8ee44af..441cbb8 100644
--- a/gdb/typeprint.c
+++ b/gdb/typeprint.c
@@ -662,7 +662,7 @@ struct cmd_list_element *setprinttypelist;
struct cmd_list_element *showprinttypelist;
static void
-set_print_type (char *arg, int from_tty)
+set_print_type (const char *arg, int from_tty)
{
printf_unfiltered (
"\"set print type\" must be followed by the name of a subcommand.\n");
@@ -670,7 +670,7 @@ set_print_type (char *arg, int from_tty)
}
static void
-show_print_type (char *args, int from_tty)
+show_print_type (const char *args, int from_tty)
{
cmd_show_list (showprinttypelist, from_tty, "");
}