diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-28 03:23:38 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-28 03:23:38 +0400 |
commit | 6ec1510f719ad7463d76eea9284428cc605d6b38 (patch) | |
tree | f692b2720d96ad1208682035a1cba498c803b998 /include/busybox.h | |
parent | 4a2aecb53a193916a40594f7c40eab86fedd8f8e (diff) |
applet_tables: do not include libbb.h, that header ir for target builds
...and applets/applet_tables.c is built on *host*.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/busybox.h')
-rw-r--r-- | include/busybox.h | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/include/busybox.h b/include/busybox.h index be06817e3..315ef8f26 100644 --- a/include/busybox.h +++ b/include/busybox.h @@ -1,37 +1,16 @@ /* vi: set sw=4 ts=4: */ /* - * Busybox main internal header file - * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ #ifndef BUSYBOX_H #define BUSYBOX_H 1 #include "libbb.h" +/* BB_DIR_foo and BB_SUID_bar constants: */ +#include "applet_metadata.h" PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN -/* order matters: used as index into "install_dir[]" in appletlib.c */ -typedef enum bb_install_loc_t { - BB_DIR_ROOT = 0, - BB_DIR_BIN, - BB_DIR_SBIN, -#if ENABLE_INSTALL_NO_USR - BB_DIR_USR_BIN = BB_DIR_BIN, - BB_DIR_USR_SBIN = BB_DIR_SBIN, -#else - BB_DIR_USR_BIN, - BB_DIR_USR_SBIN, -#endif -} bb_install_loc_t; - -typedef enum bb_suid_t { - BB_SUID_DROP = 0, - BB_SUID_MAYBE, - BB_SUID_REQUIRE -} bb_suid_t; - - /* Defined in appletlib.c (by including generated applet_tables.h) */ /* Keep in sync with applets/applet_tables.c! */ extern const char applet_names[]; |