projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0c7e6c
)
sim: igen: mark error func as noreturn since it exits
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 10 Nov 2022 16:24:42 +0000
(23:24 +0700)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 10 Nov 2022 18:40:35 +0000
(
01:40
+0700)
sim/igen/misc.h
patch
|
blob
|
history
diff --git
a/sim/igen/misc.h
b/sim/igen/misc.h
index 0515c5a52793da5edc57af794450380f5b71682d..d0e1f3769cca603fa21df66398709bc14faa5b3c 100644
(file)
--- 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;