diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h index d76571b58..9d8b5f3df 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -564,7 +564,7 @@ int wait_nohang(int *wstat); | |||
564 | int spawn_and_wait(char **argv); | 564 | int spawn_and_wait(char **argv); |
565 | struct nofork_save_area { | 565 | struct nofork_save_area { |
566 | jmp_buf die_jmp; | 566 | jmp_buf die_jmp; |
567 | const struct bb_applet *current_applet; | 567 | const char *applet_name; |
568 | int xfunc_error_retval; | 568 | int xfunc_error_retval; |
569 | uint32_t option_mask32; | 569 | uint32_t option_mask32; |
570 | int die_sleep; | 570 | int die_sleep; |
@@ -748,7 +748,7 @@ const struct hwtype *get_hwntype(int type); | |||
748 | extern const struct bb_applet *find_applet_by_name(const char *name); | 748 | extern const struct bb_applet *find_applet_by_name(const char *name); |
749 | /* Returns only if applet is not found. */ | 749 | /* Returns only if applet is not found. */ |
750 | extern void run_applet_and_exit(const char *name, char **argv); | 750 | extern void run_applet_and_exit(const char *name, char **argv); |
751 | extern void run_current_applet_and_exit(char **argv) ATTRIBUTE_NORETURN; | 751 | extern void run_appletstruct_and_exit(const struct bb_applet *a, char **argv) ATTRIBUTE_NORETURN; |
752 | #endif | 752 | #endif |
753 | 753 | ||
754 | extern int match_fstype(const struct mntent *mt, const char *fstypes); | 754 | extern int match_fstype(const struct mntent *mt, const char *fstypes); |
@@ -1040,7 +1040,6 @@ enum { /* DO NOT CHANGE THESE VALUES! cp.c, mv.c, install.c depend on them. */ | |||
1040 | }; | 1040 | }; |
1041 | 1041 | ||
1042 | #define FILEUTILS_CP_OPTSTR "pdRfils" USE_SELINUX("c") | 1042 | #define FILEUTILS_CP_OPTSTR "pdRfils" USE_SELINUX("c") |
1043 | extern const struct bb_applet *current_applet; | ||
1044 | extern const char *applet_name; | 1043 | extern const char *applet_name; |
1045 | /* "BusyBox vN.N.N (timestamp or extra_vestion)" */ | 1044 | /* "BusyBox vN.N.N (timestamp or extra_vestion)" */ |
1046 | extern const char bb_banner[]; | 1045 | extern const char bb_banner[]; |