libbb/mtab: fix xrealloc_vector fallout
[oweals/busybox.git] / libbb / perror_nomsg_and_die.c
index c416df67cded4f61a3e39f7bcf40fb9169b68da8..d56e05d32d852cd30d38318596556795777df100 100644 (file)
  * modified definition without "attribute (format)"
  * instead of including libbb.h */
 //#include "libbb.h"
-extern void bb_perror_msg_and_die(const char *s, ...);
+#include "platform.h"
+extern void bb_perror_msg_and_die(const char *s, ...) FAST_FUNC;
 
-void bb_perror_nomsg_and_die(void)
+/* suppress gcc "no previous prototype" warning */
+void FAST_FUNC bb_perror_nomsg_and_die(void);
+void FAST_FUNC bb_perror_nomsg_and_die(void)
 {
        bb_perror_msg_and_die(0);
 }