mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 19:46:09 +08:00
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.
This commit is contained in:
@ -204,7 +204,7 @@ static const char *script_ext_mode = script_ext_soft;
|
||||
none is supplied. */
|
||||
|
||||
void
|
||||
error_no_arg (char *why)
|
||||
error_no_arg (const char *why)
|
||||
{
|
||||
error (_("Argument required (%s)."), why);
|
||||
}
|
||||
|
Reference in New Issue
Block a user