]> arthur.barton.de Git - netdata.git/commitdiff
mark function fatal() as noreturn
authorCosta Tsaousis <costa@tsaousis.gr>
Mon, 25 Jan 2016 20:45:57 +0000 (22:45 +0200)
committerCosta Tsaousis <costa@tsaousis.gr>
Mon, 25 Jan 2016 20:45:57 +0000 (22:45 +0200)
src/log.h

index 2734c4a6e7805f55c6da52c2b59cb4b3c1b86ab2..08f3c4fe3f5cd68911edc92cf2f5140ab1d82e8b 100755 (executable)
--- a/src/log.h
+++ b/src/log.h
@@ -52,7 +52,7 @@ extern void log_date(FILE *out);
 extern void debug_int( const char *file, const char *function, const unsigned long line, const char *fmt, ... );
 extern void info_int( const char *file, const char *function, const unsigned long line, const char *fmt, ... );
 extern void error_int( const char *prefix, const char *file, const char *function, const unsigned long line, const char *fmt, ... );
-extern void fatal_int( const char *file, const char *function, const unsigned long line, const char *fmt, ... );
+extern void fatal_int( const char *file, const char *function, const unsigned long line, const char *fmt, ... ) __attribute__ ((noreturn));
 extern void log_access( const char *fmt, ... );
 
 #endif /* NETDATA_LOG_H */