sim: igen: mark error func as noreturn since it exits

This commit is contained in:
Mike Frysinger 2022-11-10 23:24:42 +07:00
parent c0c7e6ce2a
commit 16cceb84be

View file

@ -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;