diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h index a827ba612..d67bf07ec 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -86,11 +86,11 @@ char *strtok_r(char *s, const char *delim, char **ptrptr); | |||
86 | extern void show_usage(void) __attribute__ ((noreturn)); | 86 | extern void show_usage(void) __attribute__ ((noreturn)); |
87 | extern void error_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); | 87 | extern void error_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); |
88 | extern void error_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); | 88 | extern void error_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); |
89 | extern void perror_msg(const char *s, ...); | 89 | extern void perror_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); |
90 | extern void perror_msg_and_die(const char *s, ...) __attribute__ ((noreturn)); | 90 | extern void perror_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); |
91 | extern void vherror_msg(const char *s, va_list p); | 91 | extern void vherror_msg(const char *s, va_list p); |
92 | extern void herror_msg(const char *s, ...); | 92 | extern void herror_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); |
93 | extern void herror_msg_and_die(const char *s, ...) __attribute__ ((noreturn)); | 93 | extern void herror_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); |
94 | 94 | ||
95 | /* These two are used internally -- you shouldn't need to use them */ | 95 | /* These two are used internally -- you shouldn't need to use them */ |
96 | extern void verror_msg(const char *s, va_list p); | 96 | extern void verror_msg(const char *s, va_list p); |