aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-04-10 14:16:19 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-04-10 14:16:19 +0000
commit163516da3ae54a587fb476c621793bd206f380c2 (patch)
treee62f88322f87006480624f0cf8f68ee6687e4d85 /applets
parentde17ece1dbbb3a5399e82fb5b820bb44997f8ca4 (diff)
downloadbusybox-w32-163516da3ae54a587fb476c621793bd206f380c2.tar.gz
busybox-w32-163516da3ae54a587fb476c621793bd206f380c2.tar.bz2
busybox-w32-163516da3ae54a587fb476c621793bd206f380c2.zip
- very minor shrinkage (-3b)
Diffstat (limited to 'applets')
-rw-r--r--applets/applets.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/applets/applets.c b/applets/applets.c
index 9218b40e4..66f2b821d 100644
--- a/applets/applets.c
+++ b/applets/applets.c
@@ -52,7 +52,7 @@ const unsigned short NUM_APPLETS = sizeof(applets) / sizeof(struct BB_applet) -
52const struct BB_applet *current_applet; 52const struct BB_applet *current_applet;
53const char *applet_name ATTRIBUTE_EXTERNALLY_VISIBLE; 53const char *applet_name ATTRIBUTE_EXTERNALLY_VISIBLE;
54#ifdef BB_NOMMU 54#ifdef BB_NOMMU
55smallint re_execed; 55bool re_execed;
56#endif 56#endif
57 57
58 58
@@ -68,7 +68,7 @@ static struct BB_suid_config {
68 struct BB_suid_config *m_next; 68 struct BB_suid_config *m_next;
69} *suid_config; 69} *suid_config;
70 70
71static smallint suid_cfg_readable; 71static bool suid_cfg_readable;
72 72
73/* check if u is member of group g */ 73/* check if u is member of group g */
74static int ingroup(uid_t u, gid_t g) 74static int ingroup(uid_t u, gid_t g)
@@ -135,7 +135,9 @@ static void parse_config_file(void)
135 const char *errmsg; 135 const char *errmsg;
136 char *s; 136 char *s;
137 char *e; 137 char *e;
138 int i, lc, section; 138 int i;
139 unsigned lc;
140 smallint section;
139 char buffer[256]; 141 char buffer[256];
140 struct stat st; 142 struct stat st;
141 143
@@ -371,7 +373,7 @@ static void check_suid(const struct BB_applet *applet)
371 } 373 }
372#if !ENABLE_FEATURE_SUID_CONFIG_QUIET 374#if !ENABLE_FEATURE_SUID_CONFIG_QUIET
373 { 375 {
374 static smallint onetime = 0; 376 static bool onetime = 0;
375 377
376 if (!onetime) { 378 if (!onetime) {
377 onetime = 1; 379 onetime = 1;