From cc492b3d0467d5c272730459e1b13a35d27d7843 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 4 Jun 2010 09:43:21 +0200 Subject: [PATCH] libmount: add #warning libmount API is not stable yet! Signed-off-by: Karel Zak --- misc-utils/findmnt.c | 1 + shlibs/mount/src/mount.h.in | 4 ++++ shlibs/mount/src/mountP.h | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/misc-utils/findmnt.c b/misc-utils/findmnt.c index 597e393c..c207432b 100644 --- a/misc-utils/findmnt.c +++ b/misc-utils/findmnt.c @@ -34,6 +34,7 @@ #endif #include +#define USE_UNSTABLE_LIBMOUNT_API #include #include "pathnames.h" diff --git a/shlibs/mount/src/mount.h.in b/shlibs/mount/src/mount.h.in index 276213b6..cd9159cc 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 diff --git a/shlibs/mount/src/mountP.h b/shlibs/mount/src/mountP.h index c9c96dcc..ddd86ea2 100644 --- a/shlibs/mount/src/mountP.h +++ b/shlibs/mount/src/mountP.h @@ -12,11 +12,12 @@ #include +#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 -- 2.39.5