X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Flog.h;fp=src%2Flog.h;h=8a5882c03a94a40fe45bbddb3758235ce421bd4e;hp=d49c1494328745081d65bf7909e32ff2bae33e04;hb=216bf86aee4c7a1f3392051a457e7e5933f40fbd;hpb=d463f1ebcf3057162a1e9e51579a022c98754fd3 diff --git a/src/log.h b/src/log.h index d49c149..8a5882c 100644 --- a/src/log.h +++ b/src/log.h @@ -41,7 +41,7 @@ extern void Backtrace(int size=10); extern void LogEx(int level, const char * funct, const char * file, int line, ...); // General function for printing log messages to stderr -extern void FatalEx(const char * funct, const char * file, int line, ...); // Function that deals with a fatal error (prints a message, then exits the program). +extern void FatalEx(const char * funct, const char * file, int line, ...) __attribute__((__noreturn__)); // Function that deals with a fatal error (prints a message, then exits the program). #endif //_LOG_H