svn commit: trunk/busybox: applets include
aldot at busybox.net
aldot at busybox.net
Tue Apr 10 14:16:20 UTC 2007
Author: aldot
Date: 2007-04-10 07:16:19 -0700 (Tue, 10 Apr 2007)
New Revision: 18380
Log:
- very minor shrinkage (-3b)
Modified:
trunk/busybox/applets/applets.c
trunk/busybox/include/libbb.h
Changeset:
Modified: trunk/busybox/applets/applets.c
===================================================================
--- trunk/busybox/applets/applets.c 2007-04-10 09:38:35 UTC (rev 18379)
+++ trunk/busybox/applets/applets.c 2007-04-10 14:16:19 UTC (rev 18380)
@@ -52,7 +52,7 @@
const struct BB_applet *current_applet;
const char *applet_name ATTRIBUTE_EXTERNALLY_VISIBLE;
#ifdef BB_NOMMU
-smallint re_execed;
+bool re_execed;
#endif
@@ -68,7 +68,7 @@
struct BB_suid_config *m_next;
} *suid_config;
-static smallint suid_cfg_readable;
+static bool suid_cfg_readable;
/* check if u is member of group g */
static int ingroup(uid_t u, gid_t g)
@@ -135,7 +135,9 @@
const char *errmsg;
char *s;
char *e;
- int i, lc, section;
+ int i;
+ unsigned lc;
+ smallint section;
char buffer[256];
struct stat st;
@@ -371,7 +373,7 @@
}
#if !ENABLE_FEATURE_SUID_CONFIG_QUIET
{
- static smallint onetime = 0;
+ static bool onetime = 0;
if (!onetime) {
onetime = 1;
Modified: trunk/busybox/include/libbb.h
===================================================================
--- trunk/busybox/include/libbb.h 2007-04-10 09:38:35 UTC (rev 18379)
+++ trunk/busybox/include/libbb.h 2007-04-10 14:16:19 UTC (rev 18380)
@@ -570,7 +570,7 @@
# define bb_daemonize(flags) bb_daemonize_or_rexec(flags, bogus)
#else
void forkexit_or_rexec(char **argv);
- extern smallint re_execed;
+ extern bool re_execed;
# define fork() BUG_fork_is_unavailable_on_nommu()
# define daemon(a,b) BUG_daemon_is_unavailable_on_nommu()
# define bb_daemonize(a) BUG_bb_daemonize_is_unavailable_on_nommu()
More information about the busybox-cvs
mailing list