From ad66680e62838beeab861e91dfebe1c902ff6c20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Sun, 8 Aug 2021 16:26:52 +0200 Subject: [PATCH] [core] put HEDLEY_NO_RETURN at front of declaration Change-Id: I5fa705453e33567df6ab75b5fe3eb6ae2221895b --- include/lighttpd/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lighttpd/utils.h b/include/lighttpd/utils.h index 104bb0c..468a72f 100644 --- a/include/lighttpd/utils.h +++ b/include/lighttpd/utils.h @@ -10,7 +10,7 @@ typedef enum { } liCounterType; /* log message, print backtrace, and abort() (use LI_FATAL(msg) to call it) */ -LI_API void li_fatal(const char *filename, unsigned int line, const char *function, const char *msg) HEDLEY_NO_RETURN; +LI_API HEDLEY_NO_RETURN void li_fatal(const char *filename, unsigned int line, const char *function, const char *msg); /* if libunwind is available this prints a backtrace to STDERR */ LI_API void li_print_backtrace_stderr(void); /* LI_FORCE_ASSERT is *always* active - in debug and release builds */