- very minor shrinkage (-3b)

This commit is contained in:
Bernhard Reutner-Fischer 2007-04-10 14:16:19 +00:00
parent de17ece1db
commit 163516da3a
2 changed files with 7 additions and 5 deletions

View File

@ -52,7 +52,7 @@ const unsigned short NUM_APPLETS = sizeof(applets) / sizeof(struct BB_applet) -
const struct BB_applet *current_applet; const struct BB_applet *current_applet;
const char *applet_name ATTRIBUTE_EXTERNALLY_VISIBLE; const char *applet_name ATTRIBUTE_EXTERNALLY_VISIBLE;
#ifdef BB_NOMMU #ifdef BB_NOMMU
smallint re_execed; bool re_execed;
#endif #endif
@ -68,7 +68,7 @@ static struct BB_suid_config {
struct BB_suid_config *m_next; struct BB_suid_config *m_next;
} *suid_config; } *suid_config;
static smallint suid_cfg_readable; static bool suid_cfg_readable;
/* check if u is member of group g */ /* check if u is member of group g */
static int ingroup(uid_t u, gid_t g) static int ingroup(uid_t u, gid_t g)
@ -135,7 +135,9 @@ static void parse_config_file(void)
const char *errmsg; const char *errmsg;
char *s; char *s;
char *e; char *e;
int i, lc, section; int i;
unsigned lc;
smallint section;
char buffer[256]; char buffer[256];
struct stat st; struct stat st;
@ -371,7 +373,7 @@ static void check_suid(const struct BB_applet *applet)
} }
#if !ENABLE_FEATURE_SUID_CONFIG_QUIET #if !ENABLE_FEATURE_SUID_CONFIG_QUIET
{ {
static smallint onetime = 0; static bool onetime = 0;
if (!onetime) { if (!onetime) {
onetime = 1; onetime = 1;

View File

@ -570,7 +570,7 @@ enum {
# define bb_daemonize(flags) bb_daemonize_or_rexec(flags, bogus) # define bb_daemonize(flags) bb_daemonize_or_rexec(flags, bogus)
#else #else
void forkexit_or_rexec(char **argv); void forkexit_or_rexec(char **argv);
extern smallint re_execed; extern bool re_execed;
# define fork() BUG_fork_is_unavailable_on_nommu() # define fork() BUG_fork_is_unavailable_on_nommu()
# define daemon(a,b) BUG_daemon_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() # define bb_daemonize(a) BUG_bb_daemonize_is_unavailable_on_nommu()