|
@@ -31,7 +31,9 @@ int create_dir(const char *dir, mode_t mode);
|
31
|
31
|
#define p_dbg2(fmt, ...) \
|
32
|
32
|
do { if (DEBUG > 1) p_info(fmt, __VA_ARGS__); } while(0)
|
33
|
33
|
|
34
|
|
-__attribute__ ((format(printf, 1, 2))) void die(const char *fmt, ...);
|
|
34
|
+__attribute__ ((format(printf, 1, 2)))
|
|
35
|
+__attribute__ ((noreturn))
|
|
36
|
+void die(const char *fmt, ...);
|
35
|
37
|
|
36
|
38
|
__attribute__ ((format(printf, 1, 2))) void p_err(const char *fmt, ...);
|
37
|
39
|
__attribute__ ((format(printf, 1, 2))) void p_info(const char *fmt, ...);
|