diff options
author | Glenn L McGrath | 2003-01-20 23:50:59 +0000 |
---|---|---|
committer | Glenn L McGrath | 2003-01-20 23:50:59 +0000 |
commit | 2e51a14d57c3a2e6e2189d2a4c39f09023e4c524 (patch) | |
tree | 0853a379684502123b8f744c5f3d81634c5f114c /include/libbb.h | |
parent | aad465efb7db4a86166149ed1ea251347ea2a606 (diff) | |
download | busybox-2e51a14d57c3a2e6e2189d2a4c39f09023e4c524.zip busybox-2e51a14d57c3a2e6e2189d2a4c39f09023e4c524.tar.gz |
New test mode that allows run_parts to fail silently if the directory
is not found. Patch from Bastian Blank
Diffstat (limited to 'include/libbb.h')
-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 a827ba6..d67bf07 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -86,11 +86,11 @@ char *strtok_r(char *s, const char *delim, char **ptrptr); extern void show_usage(void) __attribute__ ((noreturn)); extern void error_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); extern void error_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); -extern void perror_msg(const char *s, ...); -extern void perror_msg_and_die(const char *s, ...) __attribute__ ((noreturn)); +extern void perror_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); +extern void perror_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); extern void vherror_msg(const char *s, va_list p); -extern void herror_msg(const char *s, ...); -extern void herror_msg_and_die(const char *s, ...) __attribute__ ((noreturn)); +extern void herror_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); +extern void herror_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); /* These two are used internally -- you shouldn't need to use them */ extern void verror_msg(const char *s, va_list p); |