tar: support -T - and -X -
[oweals/busybox.git] / libbb / perror_nomsg_and_die.c
index c416df67cded4f61a3e39f7bcf40fb9169b68da8..543ff51784a3574769611b8dce4be241547025e0 100644 (file)
@@ -4,16 +4,19 @@
  *
  * Copyright (C) 2003  Manuel Novoa III  <mjn3@codepoet.org>
  *
- * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ * Licensed under GPLv2 or later, see file LICENSE in this source tree.
  */
 
 /* gcc warns about a null format string, therefore we provide
  * 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);
 }