diff options
author | Karel Zak | 2007-10-25 10:39:23 +0200 |
---|---|---|
committer | Karel Zak | 2007-10-25 21:50:59 +0200 |
commit | be551c7282fe74aca5a07dc6b2ce49ecbea48c90 (patch) | |
tree | be464246dc7329124ff3989a64f4ef5d50793f75 /mount/mount.c | |
parent | losetup: remove duplicate xstrdup() and error() (diff) | |
download | kernel-qcow2-util-linux-be551c7282fe74aca5a07dc6b2ce49ecbea48c90.tar.gz kernel-qcow2-util-linux-be551c7282fe74aca5a07dc6b2ce49ecbea48c90.tar.xz kernel-qcow2-util-linux-be551c7282fe74aca5a07dc6b2ce49ecbea48c90.zip |
mount: clean up global variables
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/mount.c')
-rw-r--r-- | mount/mount.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/mount/mount.c b/mount/mount.c index f7ff56e1b..8ec3730da 100644 --- a/mount/mount.c +++ b/mount/mount.c @@ -62,17 +62,14 @@ static int nomtab = 0; /* True for explicit readonly (-r). */ static int readonly = 0; -/* Nonzero for chatty (-v). */ -int verbose = 0; - /* Nonzero for sloppy (-s). */ -int sloppy = 0; +static int sloppy = 0; /* True for explicit read/write (-w). */ static int readwrite = 0; /* True for all mount (-a). */ -int mount_all = 0; +static int mount_all = 0; /* True for fork() during all mount (-F). */ static int optfork = 0; @@ -81,7 +78,7 @@ static int optfork = 0; static int list_with_volumelabel = 0; /* Nonzero for mount {--bind|--replace|--before|--after|--over|--move| - * make-shared|make-private|make-unbindable|make-slave} + * make-shared|make-private|make-unbindable|make-slave} */ static int mounttype = 0; @@ -1773,8 +1770,6 @@ getfs(const char *spec, const char *uuid, const char *label) return mc; } -char *progname; - int main(int argc, char *argv[]) { int c, result = 0, specseen; |