From c8974ed2ecf09c907b27731970face9b061d4efa Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Fri, 4 Oct 2024 20:29:15 +0100 Subject: [PATCH] utils/main.h: MainExit() add ATTR_NORETURN hint --- utils/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/main.h b/utils/main.h index 26f4d00d..bb5acc55 100644 --- a/utils/main.h +++ b/utils/main.h @@ -92,7 +92,7 @@ extern Transform RootToEditTransform; /* global procedures */ -extern void MainExit(int); /* a way of exiting that cleans up after itself */ +extern void MainExit(int) ATTR_NORETURN; /* a way of exiting that cleans up after itself */ extern void magicMain(); /* C99 compat */