Browse Source

[core] put HEDLEY_NO_RETURN at front of declaration

Change-Id: I5fa705453e33567df6ab75b5fe3eb6ae2221895b
master
Stefan Bühler 1 month ago
parent
commit
ad66680e62
  1. 2
      include/lighttpd/utils.h

2
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 */

Loading…
Cancel
Save