diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-09-21 01:59:15 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-09-21 01:59:15 +0200 |
commit | 16714245f9a16ce3725aab079aea7b0d28c6b32f (patch) | |
tree | 41edbcd1c279b2baae2d5e5751639076e0a3bfad /util-linux/mount.c | |
parent | 5c6ba6c56f9653488e1d805e727bb06c39ed23fa (diff) | |
download | busybox-w32-16714245f9a16ce3725aab079aea7b0d28c6b32f.tar.gz busybox-w32-16714245f9a16ce3725aab079aea7b0d28c6b32f.tar.bz2 busybox-w32-16714245f9a16ce3725aab079aea7b0d28c6b32f.zip |
add INIT_G()'s. No code changes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index b51ab1782..56276ef01 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -339,6 +339,7 @@ enum { GETMNTENT_BUFSIZE = COMMON_BUFSIZE - offsetof(struct globals, getmntent_b | |||
339 | #endif | 339 | #endif |
340 | #define fslist (G.fslist ) | 340 | #define fslist (G.fslist ) |
341 | #define getmntent_buf (G.getmntent_buf ) | 341 | #define getmntent_buf (G.getmntent_buf ) |
342 | #define INIT_G() do { } while (0) | ||
342 | 343 | ||
343 | #if ENABLE_FEATURE_MTAB_SUPPORT | 344 | #if ENABLE_FEATURE_MTAB_SUPPORT |
344 | /* | 345 | /* |
@@ -1944,6 +1945,8 @@ int mount_main(int argc UNUSED_PARAM, char **argv) | |||
1944 | 1945 | ||
1945 | IF_DESKTOP(int nonroot = ) sanitize_env_if_suid(); | 1946 | IF_DESKTOP(int nonroot = ) sanitize_env_if_suid(); |
1946 | 1947 | ||
1948 | INIT_G(); | ||
1949 | |||
1947 | // Parse long options, like --bind and --move. Note that -o option | 1950 | // Parse long options, like --bind and --move. Note that -o option |
1948 | // and --option are synonymous. Yes, this means --remount,rw works. | 1951 | // and --option are synonymous. Yes, this means --remount,rw works. |
1949 | for (i = j = 1; argv[i]; i++) { | 1952 | for (i = j = 1; argv[i]; i++) { |