diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-08 16:07:02 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-08 16:07:02 +0000 |
commit | 9bb500e5d36c2c5945b611c4c2064e03a6ff9660 (patch) | |
tree | 8e69bb572dbb2636689a15b21d7a646e942b5091 /util-linux/mount.c | |
parent | a90d14bdbfab265b227e483c71dad87b7e1c3c1b (diff) | |
download | busybox-w32-9bb500e5d36c2c5945b611c4c2064e03a6ff9660.tar.gz busybox-w32-9bb500e5d36c2c5945b611c4c2064e03a6ff9660.tar.bz2 busybox-w32-9bb500e5d36c2c5945b611c4c2064e03a6ff9660.zip |
add some missed statics on constant objects.
fix few #ifndef ENABLE_xxx
# size busybox_old busybox_unstripped
text data bss dec hex filename
677152 2920 18208 698280 aa7a8 busybox_old
676420 2920 18208 697548 aa4cc busybox_unstripped
git-svn-id: svn://busybox.net/trunk/busybox@18366 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r-- | util-linux/mount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index 4a0237196..bc1c0d4a9 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -891,7 +891,7 @@ static int nfsmount(struct mntent *mp, int vfsflags, char *filteropts) | |||
891 | for (opt = strtok(filteropts, ","); opt; opt = strtok(NULL, ",")) { | 891 | for (opt = strtok(filteropts, ","); opt; opt = strtok(NULL, ",")) { |
892 | char *opteq = strchr(opt, '='); | 892 | char *opteq = strchr(opt, '='); |
893 | if (opteq) { | 893 | if (opteq) { |
894 | const char *const options[] = { | 894 | static const char *const options[] = { |
895 | /* 0 */ "rsize", | 895 | /* 0 */ "rsize", |
896 | /* 1 */ "wsize", | 896 | /* 1 */ "wsize", |
897 | /* 2 */ "timeo", | 897 | /* 2 */ "timeo", |
@@ -996,7 +996,7 @@ static int nfsmount(struct mntent *mp, int vfsflags, char *filteropts) | |||
996 | } | 996 | } |
997 | } | 997 | } |
998 | else { | 998 | else { |
999 | const char *const options[] = { | 999 | static const char *const options[] = { |
1000 | "bg", | 1000 | "bg", |
1001 | "fg", | 1001 | "fg", |
1002 | "soft", | 1002 | "soft", |