Fail silently on failure to read tar header, its unfortunate that many tar implementa...
[oweals/busybox.git] / busybox.h
index ebbe759e2c6a817b12a25a84f12930f9f2bbb88a..e8055b06c0545b5b996b33d6f83cb2281b9bc637 100644 (file)
--- a/busybox.h
+++ b/busybox.h
@@ -66,15 +66,18 @@ extern const struct BB_applet applets[];
 #include "applets.h"
 #undef PROTOTYPES
 
-extern const char *applet_name;
-
 #ifdef BB_FEATURE_BUFFERS_GO_ON_STACK
 #define RESERVE_BB_BUFFER(buffer,len)           char buffer[len]
 #define RESERVE_BB_UBUFFER(buffer,len) unsigned char buffer[len]
 #else
+#ifdef BB_FEATURE_BUFFERS_GO_IN_BSS
+#define RESERVE_BB_BUFFER(buffer,len)  static          char buffer[len]
+#define RESERVE_BB_UBUFFER(buffer,len) static unsigned char buffer[len]
+#else
 #define RESERVE_BB_BUFFER(buffer,len)           char *buffer=xmalloc(len)
 #define RESERVE_BB_UBUFFER(buffer,len) unsigned char *buffer=xmalloc(len)
 #endif
+#endif
 
 
 /* Bit map related macros -- libc5 doens't provide these... sigh.  */