This one should be able to deal with the USAGE macros a little
[oweals/busybox.git] / busybox.h
index 692a9084e5ab8a58c74e1b5f9761a30c104b3e8a..8d4976a4b8f77e25f70234ab5cff85ea6bedeb7a 100644 (file)
--- a/busybox.h
+++ b/busybox.h
@@ -89,10 +89,10 @@ extern const struct BB_applet applets[];
 extern const char *applet_name;
 
 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, ...) __attribute__ ((format (printf, 1, 2)));
-extern void perror_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2)));
+extern void error_msg(const char *s, ...);
+extern void error_msg_and_die(const char *s, ...) __attribute__ ((noreturn));
+extern void perror_msg(const char *s, ...);
+extern void perror_msg_and_die(const char *s, ...) __attribute__ ((noreturn));
 
 const char *mode_string(int mode);
 const char *time_string(time_t timeVal);