libbb: reduce the overhead of single parameter bb_error_msg() calls
[oweals/busybox.git] / libbb / perror_nomsg_and_die.c
index 543ff51784a3574769611b8dce4be241547025e0..bea5f25a52b30fac10dad0025a14cc003f780b5c 100644 (file)
  * instead of including libbb.h */
 //#include "libbb.h"
 #include "platform.h"
-extern void bb_perror_msg_and_die(const char *s, ...) FAST_FUNC;
+extern void bb_simple_perror_msg_and_die(const char *s) FAST_FUNC;
 
 /* 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);
+       bb_simple_perror_msg_and_die(0);
 }