@cryptotaxi247 / netdata-1 / commits / 34e7857c3

mark function fatal() as noreturn

Costa Tsaousis committed Jan 25, 2016 at 22:45 UTC 34e7857c3a30900606921a1412745904b18aea3c
1 file changed +1 -1
src/log.h
+1 -1
@@ -52,7 +52,7 @@ extern void log_date(FILE *out);
52 extern void debug_int( const char *file, const char *function, const unsigned long line, const char *fmt, ... );
53 extern void info_int( const char *file, const char *function, const unsigned long line, const char *fmt, ... );
54 extern void error_int( const char *prefix, const char *file, const char *function, const unsigned long line, const char *fmt, ... );
55 -extern void fatal_int( const char *file, const char *function, const unsigned long line, const char *fmt, ... );
55 +extern void fatal_int( const char *file, const char *function, const unsigned long line, const char *fmt, ... ) __attribute__ ((noreturn));
56 extern void log_access( const char *fmt, ... );
57
58 #endif /* NETDATA_LOG_H */