summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal.h b/internal.h
index a953ce2..92b0255 100644
--- a/internal.h
+++ b/internal.h
@@ -90,11 +90,13 @@ enum Location {
_BB_DIR_USR_SBIN
};
-struct Applet {
+struct BB_applet {
const char* name;
int (*main)(int argc, char** argv);
enum Location location;
};
+/* From busybox.c */
+extern const struct BB_applet applets[];
extern int basename_main(int argc, char **argv);
extern int busybox_main(int argc, char** argv);