]> err.no Git - util-linux/commitdiff
libmount: add #warning libmount API is not stable yet!
authorKarel Zak <kzak@redhat.com>
Fri, 4 Jun 2010 07:43:21 +0000 (09:43 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 4 Jun 2010 07:43:21 +0000 (09:43 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/findmnt.c
shlibs/mount/src/mount.h.in
shlibs/mount/src/mountP.h

index 597e393ce914c46eee0ad5bfc47bd7fde55a3415..c207432bdbe6bc6661840898f9d79c1eab4f866d 100644 (file)
@@ -34,6 +34,7 @@
 #endif
 #include <assert.h>
 
+#define USE_UNSTABLE_LIBMOUNT_API
 #include <mount.h>
 
 #include "pathnames.h"
index 276213b6cdfa782437d2b26abb5603d9f7ea6c5f..cd9159cca40b4c1582211be834696ca815acd07e 100644 (file)
 extern "C" {
 #endif
 
+#ifndef USE_UNSTABLE_LIBMOUNT_API
+# warning libmount API is not stable yet!
+#endif
+
 #include <stdio.h>
 
 
index c9c96dcc7eca989e19d2b6d244b7bce8e7ad958c..ddd86ea28e558f51387c6e320d0edbccd0840049 100644 (file)
 
 #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