public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Michael Frysinger <vapier@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] sim: igen: mark error func as noreturn since it exits Date: Thu, 10 Nov 2022 18:41:50 +0000 (GMT) [thread overview] Message-ID: <20221110184150.3BC1B385840C@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=16cceb84be19a46c0f25cf96aeeea808420a4b70 commit 16cceb84be19a46c0f25cf96aeeea808420a4b70 Author: Mike Frysinger <vapier@gentoo.org> Date: Thu Nov 10 23:24:42 2022 +0700 sim: igen: mark error func as noreturn since it exits Diff: --- sim/igen/misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/igen/misc.h b/sim/igen/misc.h index 0515c5a5279..d0e1f3769cc 100644 --- a/sim/igen/misc.h +++ b/sim/igen/misc.h @@ -51,7 +51,7 @@ struct _line_ref typedef void error_func (const line_ref *line, const char *msg, ...) ATTRIBUTE_PRINTF (2, 3); -extern error_func error; +extern ATTRIBUTE_NORETURN error_func error; extern error_func warning; extern error_func notify;
reply other threads:[~2022-11-10 18:41 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20221110184150.3BC1B385840C@sourceware.org \ --to=vapier@sourceware.org \ --cc=gdb-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).