From: Karel Zak Date: Fri, 4 Jun 2010 07:43:21 +0000 (+0200) Subject: libmount: add #warning libmount API is not stable yet! X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc492b3d0467d5c272730459e1b13a35d27d7843;p=util-linux libmount: add #warning libmount API is not stable yet! Signed-off-by: Karel Zak --- 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