libmount: add #warning libmount API is not stable yet!

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2010-06-04 09:43:21 +02:00
parent d6fead1e31
commit cc492b3d04
3 changed files with 7 additions and 1 deletions

View File

@ -34,6 +34,7 @@
#endif
#include <assert.h>
#define USE_UNSTABLE_LIBMOUNT_API
#include <mount.h>
#include "pathnames.h"

View File

@ -25,6 +25,10 @@
extern "C" {
#endif
#ifndef USE_UNSTABLE_LIBMOUNT_API
# warning libmount API is not stable yet!
#endif
#include <stdio.h>

View File

@ -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