aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h8
-rw-r--r--include/busybox.h3
-rw-r--r--include/libbb.h1
3 files changed, 6 insertions, 6 deletions
diff --git a/include/applets.h b/include/applets.h
index 0ead89db8..e8d75b7d7 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -11,10 +11,6 @@
11 * file result in the listing remaining in ascii order. You have been warned. 11 * file result in the listing remaining in ascii order. You have been warned.
12 */ 12 */
13 13
14#undef APPLET
15#undef APPLET_ODDNAME
16#undef APPLET_NOUSAGE
17
18/* 14/*
19name - applet name as it is typed on command line 15name - applet name as it is typed on command line
20name2 - applet name, converted to C (ether-wake: name2 = ether_wake) 16name2 - applet name, converted to C (ether-wake: name2 = ether_wake)
@@ -352,3 +348,7 @@ USE_ZCIP(APPLET(zcip, _BB_DIR_SBIN, _BB_SUID_NEVER))
352}; 348};
353 349
354#endif 350#endif
351
352#undef APPLET
353#undef APPLET_NOUSAGE
354#undef APPLET_ODDNAME
diff --git a/include/busybox.h b/include/busybox.h
index 76ff7b76a..988137497 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -31,8 +31,7 @@ struct BB_applet {
31 __extension__ enum SUIDRoot need_suid:4; 31 __extension__ enum SUIDRoot need_suid:4;
32}; 32};
33 33
34/* Defined in busybox.c and applet.c */ 34/* Defined in applet.c */
35extern int busybox_main(int argc, char **argv);
36extern const struct BB_applet applets[]; 35extern const struct BB_applet applets[];
37extern const unsigned short NUM_APPLETS; 36extern const unsigned short NUM_APPLETS;
38 37
diff --git a/include/libbb.h b/include/libbb.h
index 6731adfe3..8f43aeafc 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -663,6 +663,7 @@ const struct hwtype *get_hwntype(int type);
663 663
664#ifndef BUILD_INDIVIDUAL 664#ifndef BUILD_INDIVIDUAL
665extern struct BB_applet *find_applet_by_name(const char *name); 665extern struct BB_applet *find_applet_by_name(const char *name);
666/* Returns only if applet is not found. */
666extern void run_applet_by_name(const char *name, int argc, char **argv); 667extern void run_applet_by_name(const char *name, int argc, char **argv);
667#endif 668#endif
668 669