diff options
author | Karel Zak | 2010-06-04 09:43:21 +0200 |
---|---|---|
committer | Karel Zak | 2010-06-04 09:43:21 +0200 |
commit | cc492b3d0467d5c272730459e1b13a35d27d7843 (patch) | |
tree | adc445584b3f497ff70a14d4f6482ded10b7189a | |
parent | libmount: fix some gtkdoc warnings (diff) | |
download | kernel-qcow2-util-linux-cc492b3d0467d5c272730459e1b13a35d27d7843.tar.gz kernel-qcow2-util-linux-cc492b3d0467d5c272730459e1b13a35d27d7843.tar.xz kernel-qcow2-util-linux-cc492b3d0467d5c272730459e1b13a35d27d7843.zip |
libmount: add #warning libmount API is not stable yet!
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | misc-utils/findmnt.c | 1 | ||||
-rw-r--r-- | shlibs/mount/src/mount.h.in | 4 | ||||
-rw-r--r-- | shlibs/mount/src/mountP.h | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/misc-utils/findmnt.c b/misc-utils/findmnt.c index 597e393ce..c207432bd 100644 --- a/misc-utils/findmnt.c +++ b/misc-utils/findmnt.c @@ -34,6 +34,7 @@ #endif #include <assert.h> +#define USE_UNSTABLE_LIBMOUNT_API #include <mount.h> #include "pathnames.h" diff --git a/shlibs/mount/src/mount.h.in b/shlibs/mount/src/mount.h.in index 276213b6c..cd9159cca 100644 --- a/shlibs/mount/src/mount.h.in +++ b/shlibs/mount/src/mount.h.in @@ -25,6 +25,10 @@ extern "C" { #endif +#ifndef USE_UNSTABLE_LIBMOUNT_API +# warning libmount API is not stable yet! +#endif + #include <stdio.h> diff --git a/shlibs/mount/src/mountP.h b/shlibs/mount/src/mountP.h index c9c96dcc7..ddd86ea28 100644 --- a/shlibs/mount/src/mountP.h +++ b/shlibs/mount/src/mountP.h @@ -12,11 +12,12 @@ #include <sys/types.h> +#define USE_UNSTABLE_LIBMOUNT_API + #include "mount.h" #include "list.h" /* features */ -#define CONFIG_CDROM_NOMEDIUM_RETRIES 5 #define CONFIG_LIBMOUNT_ASSERT #define CONFIG_LIBMOUNT_DEBUG |