Move applet_name declaration from busybox.h to libbb.h.
This commit is contained in:
@@ -66,8 +66,6 @@ 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]
|
||||
|
@@ -262,4 +262,6 @@ enum {
|
||||
CP_INTERACTIVE = 16
|
||||
};
|
||||
|
||||
extern const char *applet_name;
|
||||
|
||||
#endif /* __LIBBB_H__ */
|
||||
|
Reference in New Issue
Block a user