aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-11-10 23:24:42 +0700
committerMike Frysinger <vapier@gentoo.org>2022-11-11 01:40:35 +0700
commit16cceb84be19a46c0f25cf96aeeea808420a4b70 (patch)
tree3a701bcedd620171ead6d89250b74029ce378e5d /sim
parentc0c7e6ce2af0c681ab8ee6f4dc743d95b1d09de4 (diff)
downloadgdb-16cceb84be19a46c0f25cf96aeeea808420a4b70.zip
gdb-16cceb84be19a46c0f25cf96aeeea808420a4b70.tar.gz
gdb-16cceb84be19a46c0f25cf96aeeea808420a4b70.tar.bz2
sim: igen: mark error func as noreturn since it exits
Diffstat (limited to 'sim')
-rw-r--r--sim/igen/misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/igen/misc.h b/sim/igen/misc.h
index 0515c5a..d0e1f37 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;