libmount: add #warning libmount API is not stable yet!
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
d6fead1e31
commit
cc492b3d04
|
@ -34,6 +34,7 @@
|
|||
#endif
|
||||
#include <assert.h>
|
||||
|
||||
#define USE_UNSTABLE_LIBMOUNT_API
|
||||
#include <mount.h>
|
||||
|
||||
#include "pathnames.h"
|
||||
|
|
|
@ -25,6 +25,10 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef USE_UNSTABLE_LIBMOUNT_API
|
||||
# warning libmount API is not stable yet!
|
||||
#endif
|
||||
|
||||
#include <stdio.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
|
||||
|
||||
|
|
Loading…
Reference in New Issue