]> err.no Git - util-linux/commitdiff
swapon: add sundries.h
authorKarel Zak <kzak@redhat.com>
Mon, 17 Dec 2007 21:28:48 +0000 (22:28 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 3 Jan 2008 16:06:57 +0000 (17:06 +0100)
so we can compile with -fno-common.

Signed-off-by: Karel Zak <kzak@redhat.com>
mount/swapon.c

index 34a183fa109c1072a9fe1f07bb724e63f39ad9c6..37af9ee665378461c762a6e0048069ea80914126 100644 (file)
@@ -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;