- remove warning about "'static' is not at beginning of declaration".
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 28 Oct 2005 09:45:07 +0000 (09:45 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 28 Oct 2005 09:45:07 +0000 (09:45 -0000)
applets/applets.c

index ceb0d5557a9053c8ea063481f27afee19fdd1bd9..1a261d9a03225e2ca4fbf930a3e2a609cecbf121 100644 (file)
@@ -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;