equal
deleted
inserted
replaced
23 // needs to be defined as its own function for the noreturn attribute |
23 // needs to be defined as its own function for the noreturn attribute |
24 void _generic_err_exit (int flags, const char *func, int err, const char *fmt, ...) |
24 void _generic_err_exit (int flags, const char *func, int err, const char *fmt, ...) |
25 __attribute__ ((format (printf, 4, 5))) |
25 __attribute__ ((format (printf, 4, 5))) |
26 __attribute__ ((noreturn)); |
26 __attribute__ ((noreturn)); |
27 |
27 |
28 static inline void debug_dummy (int dummy, ...) { /* no-op */ } |
28 static inline void debug_dummy (int dummy, ...) { (void) dummy; /* no-op */ } |
29 |
29 |
30 enum _debug_level { |
30 enum _debug_level { |
31 DEBUG_FATAL, |
31 DEBUG_FATAL, |
32 DEBUG_ERROR, |
32 DEBUG_ERROR, |
33 DEBUG_WARNING, |
33 DEBUG_WARNING, |