]> err.no Git - util-linux/commitdiff
libmount: rename mount.h to libmount.h
authorKarel Zak <kzak@redhat.com>
Wed, 19 Jan 2011 22:51:12 +0000 (23:51 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 21 Jan 2011 23:27:26 +0000 (00:27 +0100)
The mount.h file name is too generic.

Signed-off-by: Karel Zak <kzak@redhat.com>
12 files changed:
config/include-Makefile.am
configure.ac
misc-utils/findmnt.c
mount/fstab.c
mount/fstab.h
shlibs/mount/.gitignore
shlibs/mount/docs/Makefile.am
shlibs/mount/mount.pc.in
shlibs/mount/samples/mount.c
shlibs/mount/src/Makefile.am
shlibs/mount/src/libmount.h.in [moved from shlibs/mount/src/mount.h.in with 100% similarity]
shlibs/mount/src/mountP.h

index e7dbd34e4ad7226d808103822cdf284cb2e37073..b9caad5ab169647a8424c8d021cc00c40ae6bd4d 100644 (file)
@@ -37,7 +37,7 @@ ul_libmount_srcdir = $(top_srcdir)/shlibs/mount/src
 ul_libmount_builddir = $(top_builddir)/shlibs/mount/src
 ul_libmount_la = $(top_builddir)/shlibs/mount/src/libmount.la
 
-# mount.h is generated by ./configure script and stored in build directory
+# libmount.h is generated by ./configure script and stored in build directory
 ul_libmount_incdir = $(ul_libmount_builddir)
 
 $(ul_libmount_la):
index 3c241e913c1951a53a8487b5cb59de734d698f65..246afd4fd96f92232404ab9c18bb95d3dc87bca1 100644 (file)
@@ -1207,7 +1207,7 @@ shlibs/blkid/samples/Makefile
 shlibs/mount/mount.pc
 shlibs/mount/Makefile
 shlibs/mount/src/Makefile
-shlibs/mount/src/mount.h
+shlibs/mount/src/libmount.h
 shlibs/mount/docs/Makefile
 shlibs/mount/docs/version.xml
 shlibs/mount/samples/Makefile
index af5d6e04b74281ebcf62228edcd39a8732762002..edf14ebe242e46a1555e412a374637067bd8d7fb 100644 (file)
@@ -32,7 +32,7 @@
 #include <assert.h>
 
 #define USE_UNSTABLE_LIBMOUNT_API
-#include <mount.h>
+#include <libmount.h>
 
 #include "pathnames.h"
 #include "nls.h"
index 2d3767abdadd5db79835822cf2ae6384c937df3c..f812e120ccb8d4824a030b41f7035174feb050d7 100644 (file)
@@ -151,7 +151,7 @@ read_mntentchn(mntFILE *mfp, const char *fnam, struct mntentchn *mc0) {
 #ifdef HAVE_LIBMOUNT_MOUNT
 
 #define USE_UNSTABLE_LIBMOUNT_API
-#include <mount.h>                     /* libmount */
+#include <libmount.h>                  /* libmount */
 
 static void read_mounttable()
 {
index f8ec4ef288965fb2cae29300b9f43269eb38e26c..09e995c175fcb701088defeb5e5e65e2df8bbcda 100644 (file)
@@ -5,7 +5,7 @@
 
 #ifdef HAVE_LIBMOUNT_MOUNT
 #define USE_UNSTABLE_LIBMOUNT_API
-#include <mount.h>                     /* libmount */
+#include <libmount.h>
 extern mnt_lock *init_libmount_lock(const char *filename);
 #endif
 
index 1c7879deb13ba75589cef5d42288ac40ab1c629a..7d203f5f99f338c55c5e63f48fb678251e656447 100644 (file)
@@ -1,2 +1,2 @@
 test_*
-mount.h
+libmount.h
index 13e1c655f8d4a63b7020bbcbe5f93006d104348f..3e087d294451a13aca5e93d6a4fd07e9c4f09d75 100644 (file)
@@ -50,7 +50,7 @@ FIXXREF_OPTIONS=
 # Used for dependencies. The docs will be rebuilt if any of these change.
 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
-HFILE_GLOB=$(ul_libmount_incdir)/mount.h
+HFILE_GLOB=$(ul_libmount_incdir)/libmount.h
 CFILE_GLOB=$(ul_libmount_srcdir)/*.c
 
 # Extra header to include when scanning, which are not under DOC_SOURCE_DIR
index 94051b8b64fbdaa863e818fb27b87837d3b468f6..2c327978bcb0af9cc40cb4ce33dd9d6134ebad7f 100644 (file)
@@ -7,5 +7,5 @@ Name: mount
 Description: mount library
 Version: @LIBMOUNT_VERSION@
 Requires.private: blkid
-Cflags: -I${includedir}/mount
+Cflags: -I${includedir}/libmount
 Libs: -L${libdir} -lmount
index eca02d62e9d1a7339caa915af98b14ca92967bd3..aa7130013d0de4679e7c19d07037a14086b478a4 100644 (file)
@@ -28,7 +28,8 @@
 #include <unistd.h>
 #include <sys/types.h>
 
-#include "mount.h"
+#include <libmount.h>
+
 #include "nls.h"
 #include "c.h"
 
index f552ebee966ba4c50c6cf0f25241e0bf73c104b6..ceea6ab58d5c9dfbc07aadfcc8d9da3583baaab6 100644 (file)
@@ -5,8 +5,8 @@ AM_CPPFLAGS += -I$(ul_libmount_incdir) \
               -I$(ul_libblkid_incdir)
 
 # includes
-mountincdir = $(includedir)/mount
-nodist_mountinc_HEADERS = mount.h
+mountincdir = $(includedir)/libmount
+nodist_mountinc_HEADERS = libmount.h
 
 usrlib_exec_LTLIBRARIES = libmount.la
 libmount_la_SOURCES =  mountP.h version.c utils.c test.c init.c cache.c \
@@ -25,7 +25,7 @@ nodist_libmount_la_SOURCES = mountP.h
 
 libmount_la_LIBADD = $(ul_libblkid_la) $(SELINUX_LIBS)
 
-libmount_la_DEPENDENCIES = $(libmount_la_LIBADD) mount.sym mount.h.in
+libmount_la_DEPENDENCIES = $(libmount_la_LIBADD) mount.sym libmount.h.in
 
 libmount_la_LDFLAGS = -Wl,--version-script=$(ul_libmount_srcdir)/mount.sym \
                       -version-info $(LIBMOUNT_VERSION_INFO)
@@ -36,7 +36,7 @@ if HAVE_SELINUX
 TESTS_LIBS += $(SELINUX_LIBS)
 endif
 
-EXTRA_DIST = mount.sym mount.h.in
+EXTRA_DIST = mount.sym libmount.h.in
 CLEANFILES = $(tests)
 
 # move lib from $(usrlib_execdir) to $(libdir) if needed
index cb7b68cd3386b60aeb677a7a65ec518cb308bd37..f6c2e211727812b626b7d48ef66edbe51252c815 100644 (file)
@@ -16,7 +16,7 @@
 
 #define USE_UNSTABLE_LIBMOUNT_API
 
-#include "mount.h"
+#include "libmount.h"
 #include "list.h"
 
 /* features */