]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
swaplabel: move swapon-common to include directory
authorSami Kerola <kerolasa@iki.fi>
Sat, 26 Jul 2014 10:53:06 +0000 (11:53 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 28 Jul 2014 10:28:05 +0000 (12:28 +0200)
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 <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/swaplabel.c
include/Makemodule.am
include/swapon-common.h [moved from sys-utils/swapon-common.h with 100% similarity]

index 809c365cb08d385e044e7b860e288224ef91627a..a7cccc4f868a35a1907166c4bf53b7f237b7bfba 100644 (file)
@@ -29,6 +29,7 @@
 #include "closestream.h"
 #include "all-io.h"
 #include "swapheader.h"
+#include "swapon-common.h"
 #include "strutils.h"
 #include "nls.h"
 
index 993738d7ab4c0e8efb760a78701678f6efa1e618..dd5c3f58c5834f3cc14f058c8b5e6bc6dee1fffc 100644 (file)
@@ -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 \