From: Karel Zak Date: Mon, 17 Dec 2007 21:28:48 +0000 (+0100) Subject: swapon: add sundries.h X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ac128c668b06e987bdbe5cbdcc698f642812560;p=util-linux swapon: add sundries.h so we can compile with -fno-common. Signed-off-by: Karel Zak --- diff --git a/mount/swapon.c b/mount/swapon.c index 34a183fa..37af9ee6 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 @@ -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;