Mark error_no_arg() as no-return.
This commit is contained in:
parent
76995688e8
commit
c3eb0c00b3
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Nov 20 14:29:39 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* command.h (error_no_arg): Add noreturn attribute to declaration.
|
||||
|
||||
Fri Nov 17 16:07:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* utils.c (xvasprintf, xasprintf): New functions.
|
||||
|
|
|
@ -347,7 +347,7 @@ extern void do_setshow_command (char *, int, struct cmd_list_element *);
|
|||
|
||||
extern void cmd_show_list (struct cmd_list_element *, int, char *);
|
||||
|
||||
extern void error_no_arg (char *);
|
||||
extern NORETURN void error_no_arg (char *) ATTR_NORETURN;
|
||||
|
||||
extern void dont_repeat (void);
|
||||
|
||||
|
|
Loading…
Reference in a new issue