From 744705931dd6522a69a4d41e1bc5af9e87262255 Mon Sep 17 00:00:00 2001 From: lemon Date: Thu, 11 Dec 2025 09:31:39 +0100 Subject: make fatal() _Noreturn --- common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common.h') diff --git a/common.h b/common.h index 26e4b61..2d2eb79 100644 --- a/common.h +++ b/common.h @@ -389,7 +389,7 @@ void markfileonce(int id, const char *guard); void markfileseen(int id); bool isfileseen(int id); void closefile(int id); -void fatal(const struct span *, const char *, ...); +_Noreturn void fatal(const struct span *, const char *, ...); void error(const struct span *, const char *, ...); void warn(const struct span *, const char *, ...); void note(const struct span *, const char *, ...); -- cgit v1.2.3