aboutsummaryrefslogtreecommitdiff
path: root/gdb/command.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-27 14:36:35 -0700
committerTom Tromey <tromey@redhat.com>2014-06-26 09:14:18 -0600
commit5b10184c5844524e59621dd40cefd1db69680f95 (patch)
tree2428465a35743f0051464b8f123892a7f48188f5 /gdb/command.h
parent069003265c89fab0c46c5a831c2beeec4bcfb501 (diff)
constify error_no_arg
This is a trivial patch to make error_no_arg take a const argument. 2014-06-26 Tom Tromey <tromey@redhat.com> * cli/cli-cmds.c (error_no_arg): Make "why" const. * command.h (error_no_arg): Update.
Diffstat (limited to 'gdb/command.h')
-rw-r--r--gdb/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/command.h b/gdb/command.h
index a5040a4432..bc9728f2c6 100644
--- a/gdb/command.h
+++ b/gdb/command.h
@@ -378,7 +378,7 @@ extern void cmd_show_list (struct cmd_list_element *, int, char *);
/* Used everywhere whenever at least one parameter is required and
none is specified. */
-extern void error_no_arg (char *) ATTRIBUTE_NORETURN;
+extern void error_no_arg (const char *) ATTRIBUTE_NORETURN;
extern void dont_repeat (void);