public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim: igen: mark error func as noreturn since it exits
@ 2022-11-10 18:41 Michael Frysinger
  0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2022-11-10 18:41 UTC (permalink / raw)
  To: gdb-cvs

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-10 18:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10 18:41 [binutils-gdb] sim: igen: mark error func as noreturn since it exits Michael Frysinger

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