The new syscalls (statmount and fd-based mount) are already being
utilized in various areas within the library. Therefore, it would be
more efficient to include the syscalls header file in the private main
library header file.
Signed-off-by: Karel Zak <kzak@redhat.com>
#include <stdarg.h>
#include <sys/wait.h>
-#include "mount-api-utils.h"
-
/**
* mnt_new_context:
*
#include "strutils.h"
#include "all-io.h"
#include "namespace.h"
-#include "mount-api-utils.h"
#include "mountP.h"
#include "mountP.h"
#include "fileutils.h" /* statx() fallback */
#include "strutils.h"
-#include "mount-api-utils.h"
#include "linux_version.h"
#include <inttypes.h>
#include "mountP.h"
#include "fileutils.h"
-#include "mount-api-utils.h"
struct hookset_data {
char *subdir;
* Usually implemented by locally defined 'struct hook_data' in hook_*.c.
*/
#include "mountP.h"
-#include "mount-api-utils.h"
/* built-in hooksets */
static const struct libmnt_hookset *const hooksets[] =
#include "buffer.h"
#include "libmount.h"
+#include "mount-api-utils.h"
+
/*
* Debug
*/
#include "strutils.h"
#include "list.h"
#include "mountP.h"
-#include "mount-api-utils.h"
#define MNT_OL_MAXMAPS 8
#include <ctype.h>
#include "mountP.h"
-#include "mount-api-utils.h"
static const char *lib_version = LIBMOUNT_VERSION;
static const char *lib_features[] = {