- don't free user-supplied string (via -e)
[oweals/busybox.git] / libbb / perror_nomsg.c
index 8059f9fd898b43445115c203ade37da96c70984b..a157caa1fbee8cafbb0f33a8f78f33366f9c0fd2 100644 (file)
  * modified definition without "attribute (format)"
  * instead of including libbb.h */
 //#include "libbb.h"
-extern void bb_perror_msg(const char *s, ...);
+#include "platform.h"
+extern void bb_perror_msg(const char *s, ...) FAST_FUNC;
 
-void bb_perror_nomsg(void)
+/* suppress gcc "no previous prototype" warning */
+void FAST_FUNC bb_perror_nomsg(void);
+void FAST_FUNC bb_perror_nomsg(void)
 {
        bb_perror_msg(0);
 }