aboutsummaryrefslogtreecommitdiff
path: root/include/applets.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/applets.h')
-rw-r--r--include/applets.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/applets.h b/include/applets.h
index b59d33183..d05299b69 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -52,12 +52,12 @@ s - suid type:
52# define APPLET_NOFORK(name,main,l,s,name2) LINK l name 52# define APPLET_NOFORK(name,main,l,s,name2) LINK l name
53 53
54#else 54#else
55 const struct BB_applet applets[] = { /* name,main,location,need_suid */ 55 const struct bb_applet applets[] = { /* name, main, location, need_suid */
56# define APPLET(name,l,s) {#name,name##_main,l,s}, 56# define APPLET(name,l,s) { #name, name##_main USE_FEATURE_INSTALLER(,l) USE_FEATURE_SUID(,s) },
57# define APPLET_NOUSAGE(name,main,l,s) {#name,main##_main,l,s}, 57# define APPLET_NOUSAGE(name,main,l,s) { #name, main##_main USE_FEATURE_INSTALLER(,l) USE_FEATURE_SUID(,s) },
58# define APPLET_ODDNAME(name,main,l,s,name2) {#name,main##_main,l,s}, 58# define APPLET_ODDNAME(name,main,l,s,name2) { #name, main##_main USE_FEATURE_INSTALLER(,l) USE_FEATURE_SUID(,s) },
59# define APPLET_NOEXEC(name,main,l,s,name2) {#name,main##_main,l,s,1}, 59# define APPLET_NOEXEC(name,main,l,s,name2) { #name, main##_main USE_FEATURE_INSTALLER(,l) USE_FEATURE_SUID(,s) USE_FEATURE_EXEC_PREFER_APPLETS(,1) },
60# define APPLET_NOFORK(name,main,l,s,name2) {#name,main##_main,l,s,1,1}, 60# define APPLET_NOFORK(name,main,l,s,name2) { #name, main##_main USE_FEATURE_INSTALLER(,l) USE_FEATURE_SUID(,s) USE_FEATURE_EXEC_PREFER_APPLETS(,1 ,1) },
61#endif 61#endif
62 62
63#if ENABLE_INSTALL_NO_USR 63#if ENABLE_INSTALL_NO_USR
@@ -355,7 +355,7 @@ USE_GUNZIP(APPLET_ODDNAME(zcat, gunzip, _BB_DIR_BIN, _BB_SUID_NEVER, zcat))
355USE_ZCIP(APPLET(zcip, _BB_DIR_SBIN, _BB_SUID_NEVER)) 355USE_ZCIP(APPLET(zcip, _BB_DIR_SBIN, _BB_SUID_NEVER))
356 356
357#if !defined(PROTOTYPES) && !defined(MAKE_USAGE) 357#if !defined(PROTOTYPES) && !defined(MAKE_USAGE)
358 { 0, NULL, 0, 0 } 358 { NULL }
359}; 359};
360#endif 360#endif
361 361