X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fbusybox.h;h=59d800e8b5f14c575031d6ad5d800f14e505ce0d;hb=c57ec37959390ff2e43faa5e4dd5281b2923ced3;hp=9fb95036ead68b767a85fd3428aba28e6c8ef2a7;hpb=86f5c9906beac527f3d7966f24811b571a589e08;p=oweals%2Fbusybox.git diff --git a/include/busybox.h b/include/busybox.h index 9fb95036e..59d800e8b 100644 --- a/include/busybox.h +++ b/include/busybox.h @@ -21,11 +21,7 @@ #error "Sorry, this libc version is not supported :(" #endif -#ifndef BB_EXTRA_VERSION -#define BB_BANNER "BusyBox v" BB_VER " (" BB_BT ")" -#else -#define BB_BANNER "BusyBox v" BB_VER " (" BB_EXTRA_VERSION ")" -#endif +extern const char BB_BANNER[]; #include @@ -66,23 +62,6 @@ extern const struct BB_applet applets[]; #include "applets.h" #undef PROTOTYPES -#ifdef CONFIG_FEATURE_BUFFERS_GO_ON_STACK -#define RESERVE_CONFIG_BUFFER(buffer,len) char buffer[len] -#define RESERVE_CONFIG_UBUFFER(buffer,len) unsigned char buffer[len] -#define RELEASE_CONFIG_BUFFER(buffer) ((void)0) -#else -#ifdef CONFIG_FEATURE_BUFFERS_GO_IN_BSS -#define RESERVE_CONFIG_BUFFER(buffer,len) static char buffer[len] -#define RESERVE_CONFIG_UBUFFER(buffer,len) static unsigned char buffer[len] -#define RELEASE_CONFIG_BUFFER(buffer) ((void)0) -#else -#define RESERVE_CONFIG_BUFFER(buffer,len) char *buffer=xmalloc(len) -#define RESERVE_CONFIG_UBUFFER(buffer,len) unsigned char *buffer=xmalloc(len) -#define RELEASE_CONFIG_BUFFER(buffer) free (buffer) -#endif -#endif - - #ifndef RB_POWER_OFF /* Stop system and switch power off if possible. */ #define RB_POWER_OFF 0x4321fedc