From: Sami Kerola Date: Sat, 26 Jul 2014 10:53:06 +0000 (+0100) Subject: swaplabel: move swapon-common to include directory X-Git-Tag: v2.26-rc1~579 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=25a365e;p=thirdparty%2Futil-linux.git swaplabel: move swapon-common to include directory This fixes the following compiler warning. disk-utils/swaplabel.c:175:2: warning: implicit declaration of function 'get_swap_prober' [-Wimplicit-function-declaration] Signed-off-by: Sami Kerola Signed-off-by: Karel Zak --- diff --git a/disk-utils/swaplabel.c b/disk-utils/swaplabel.c index 809c365cb0..a7cccc4f86 100644 --- a/disk-utils/swaplabel.c +++ b/disk-utils/swaplabel.c @@ -29,6 +29,7 @@ #include "closestream.h" #include "all-io.h" #include "swapheader.h" +#include "swapon-common.h" #include "strutils.h" #include "nls.h" diff --git a/include/Makemodule.am b/include/Makemodule.am index 993738d7ab..dd5c3f58c5 100644 --- a/include/Makemodule.am +++ b/include/Makemodule.am @@ -41,6 +41,7 @@ dist_noinst_HEADERS += \ include/rpmatch.h \ include/setproctitle.h \ include/strutils.h \ + include/swapon-common.h \ include/swapheader.h \ include/sysfs.h \ include/timer.h \ diff --git a/sys-utils/swapon-common.h b/include/swapon-common.h similarity index 100% rename from sys-utils/swapon-common.h rename to include/swapon-common.h