From 16cceb84be19a46c0f25cf96aeeea808420a4b70 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 10 Nov 2022 23:24:42 +0700 Subject: sim: igen: mark error func as noreturn since it exits --- 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 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; -- cgit v1.1