From: Mike Frysinger Date: Thu, 10 Nov 2022 16:24:42 +0000 (+0700) Subject: sim: igen: mark error func as noreturn since it exits X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=16cceb84be19a46c0f25cf96aeeea808420a4b70;p=binutils-gdb.git sim: igen: mark error func as noreturn since it exits --- 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;