Mark error_no_arg() as no-return.

This commit is contained in:
Andrew Cagney 2000-11-20 03:37:09 +00:00
parent 76995688e8
commit c3eb0c00b3
2 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -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);