summaryrefslogtreecommitdiffstats
path: root/mount/swapon.c
diff options
context:
space:
mode:
authorKarel Zak2007-12-17 22:28:48 +0100
committerKarel Zak2008-01-03 17:06:57 +0100
commit5ac128c668b06e987bdbe5cbdcc698f642812560 (patch)
tree388f4db538350ee79fbed0ff03c14aa48b4d6dff /mount/swapon.c
parentmount: "nofail" mount option (diff)
downloadkernel-qcow2-util-linux-5ac128c668b06e987bdbe5cbdcc698f642812560.tar.gz
kernel-qcow2-util-linux-5ac128c668b06e987bdbe5cbdcc698f642812560.tar.xz
kernel-qcow2-util-linux-5ac128c668b06e987bdbe5cbdcc698f642812560.zip
swapon: add sundries.h
so we can compile with -fno-common. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/swapon.c')
-rw-r--r--mount/swapon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mount/swapon.c b/mount/swapon.c
index 34a183fa1..37af9ee66 100644
--- a/mount/swapon.c
+++ b/mount/swapon.c
@@ -16,6 +16,7 @@
#include "fsprobe.h"
#include "realpath.h"
#include "pathnames.h"
+#include "sundries.h"
#ifdef HAVE_SYS_SWAP_H
# include <sys/swap.h>
@@ -35,8 +36,6 @@
int all = 0;
int priority = -1; /* non-prioritized swap by default */
-int verbose;
-char *progname;
/* If true, don't complain if the device/file doesn't exist */
int ifexists = 0;