diff options
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 8f43aeafc..4fc5d183f 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -662,9 +662,11 @@ const struct hwtype *get_hwntype(int type); | |||
662 | 662 | ||
663 | 663 | ||
664 | #ifndef BUILD_INDIVIDUAL | 664 | #ifndef BUILD_INDIVIDUAL |
665 | extern struct BB_applet *find_applet_by_name(const char *name); | 665 | struct BB_applet; |
666 | extern const struct BB_applet *find_applet_by_name(const char *name); | ||
666 | /* Returns only if applet is not found. */ | 667 | /* Returns only if applet is not found. */ |
667 | extern void run_applet_by_name(const char *name, int argc, char **argv); | 668 | extern void run_applet_by_name(const char *name, int argc, char **argv); |
669 | extern void run_current_applet_and_exit(int argc, char **argv) ATTRIBUTE_NORETURN; | ||
668 | #endif | 670 | #endif |
669 | 671 | ||
670 | extern int match_fstype(const struct mntent *mt, const char *fstypes); | 672 | extern int match_fstype(const struct mntent *mt, const char *fstypes); |
@@ -870,6 +872,7 @@ enum { /* DO NOT CHANGE THESE VALUES! cp.c, mv.c, install.c depend on them. */ | |||
870 | }; | 872 | }; |
871 | 873 | ||
872 | #define FILEUTILS_CP_OPTSTR "pdRfils" USE_SELINUX("c") | 874 | #define FILEUTILS_CP_OPTSTR "pdRfils" USE_SELINUX("c") |
875 | extern const struct BB_applet *current_applet; | ||
873 | extern const char *applet_name; | 876 | extern const char *applet_name; |
874 | extern const char BB_BANNER[]; | 877 | extern const char BB_BANNER[]; |
875 | 878 | ||