aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2005-10-28 09:45:07 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2005-10-28 09:45:07 +0000
commit6973abcfa83a7fa51c963abc9040c8fc9a5af3a9 (patch)
tree4028fd675c49b330e9327603bdbe1142c41ec041 /applets
parent1b751c894b520846af8575d09187ce342e88778c (diff)
downloadbusybox-6973abcfa83a7fa51c963abc9040c8fc9a5af3a9.tar.gz
- remove warning about "'static' is not at beginning of declaration".
Diffstat (limited to 'applets')
-rw-r--r--applets/applets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/applets/applets.c b/applets/applets.c
index ceb0d5557..1a261d9a0 100644
--- a/applets/applets.c
+++ b/applets/applets.c
@@ -64,7 +64,7 @@ const size_t NUM_APPLETS = (sizeof (applets) / sizeof (struct BB_applet) - 1);
#define CONFIG_FILE "/etc/busybox.conf"
/* applets [] is const, so we have to define this "override" structure */
-struct BB_suid_config
+static struct BB_suid_config
{
struct BB_applet *m_applet;
@@ -73,7 +73,7 @@ struct BB_suid_config
mode_t m_mode;
struct BB_suid_config *m_next;
-} static *suid_config;
+} *suid_config;
static int suid_cfg_readable;