From c3eb0c00b3c68f068dd608aa5b819bb570b522d9 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 20 Nov 2000 03:37:09 +0000 Subject: [PATCH] Mark error_no_arg() as no-return. --- gdb/ChangeLog | 4 ++++ gdb/command.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f8f8416f8d2..e8a38be505f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Mon Nov 20 14:29:39 2000 Andrew Cagney + + * command.h (error_no_arg): Add noreturn attribute to declaration. + Fri Nov 17 16:07:23 2000 Andrew Cagney * utils.c (xvasprintf, xasprintf): New functions. diff --git a/gdb/command.h b/gdb/command.h index ab678a23152..2f2f6b8e542 100644 --- a/gdb/command.h +++ b/gdb/command.h @@ -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); -- 2.30.2