aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/gensquashfs/src/mkfs.h16
-rw-r--r--include/fstree.h16
2 files changed, 16 insertions, 16 deletions
diff --git a/bin/gensquashfs/src/mkfs.h b/bin/gensquashfs/src/mkfs.h
index 671c3cb..516ab87 100644
--- a/bin/gensquashfs/src/mkfs.h
+++ b/bin/gensquashfs/src/mkfs.h
@@ -41,6 +41,22 @@
#include <errno.h>
#include <ctype.h>
+enum {
+ DIR_SCAN_KEEP_TIME = 0x01,
+
+ DIR_SCAN_ONE_FILESYSTEM = 0x02,
+
+ DIR_SCAN_NO_RECURSION = 0x04,
+
+ DIR_SCAN_NO_SOCK = 0x0008,
+ DIR_SCAN_NO_SLINK = 0x0010,
+ DIR_SCAN_NO_FILE = 0x0020,
+ DIR_SCAN_NO_BLK = 0x0040,
+ DIR_SCAN_NO_DIR = 0x0080,
+ DIR_SCAN_NO_CHR = 0x0100,
+ DIR_SCAN_NO_FIFO = 0x0200,
+};
+
/*
Optionally used by fstree_from_dir and fstree_from_subdir to
execute custom actions for each discovered node.
diff --git a/include/fstree.h b/include/fstree.h
index 8d5e499..7abf6f5 100644
--- a/include/fstree.h
+++ b/include/fstree.h
@@ -18,22 +18,6 @@
#include "io/istream.h"
#include "compat.h"
-enum {
- DIR_SCAN_KEEP_TIME = 0x01,
-
- DIR_SCAN_ONE_FILESYSTEM = 0x02,
-
- DIR_SCAN_NO_RECURSION = 0x04,
-
- DIR_SCAN_NO_SOCK = 0x0008,
- DIR_SCAN_NO_SLINK = 0x0010,
- DIR_SCAN_NO_FILE = 0x0020,
- DIR_SCAN_NO_BLK = 0x0040,
- DIR_SCAN_NO_DIR = 0x0080,
- DIR_SCAN_NO_CHR = 0x0100,
- DIR_SCAN_NO_FIFO = 0x0200,
-};
-
#define FSTREE_MODE_HARD_LINK (0)
#define FSTREE_MODE_HARD_LINK_RESOLVED (1)