summaryrefslogtreecommitdiff
path: root/difftool/sqfsdiff.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-20 03:49:02 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-20 18:34:17 +0200
commit9486151f186e3664c8dd429fba94f9e539377d87 (patch)
treee2cb8caed78c3de99bf0c58a3c7b1ddd140efd40 /difftool/sqfsdiff.h
parent08c22510ba901d73f2841434e7e6a2a688b31fa8 (diff)
sqfsdiff: remove squashfs-to-dir & dir-to-dir comparisons
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'difftool/sqfsdiff.h')
-rw-r--r--difftool/sqfsdiff.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/difftool/sqfsdiff.h b/difftool/sqfsdiff.h
index 36b97b6..d9a01c2 100644
--- a/difftool/sqfsdiff.h
+++ b/difftool/sqfsdiff.h
@@ -13,7 +13,6 @@
#include "fstree.h"
#include "util.h"
-#include <sys/mman.h>
#include <unistd.h>
#include <stdlib.h>
#include <getopt.h>
@@ -29,14 +28,8 @@ typedef struct {
int compare_flags;
sqfs_reader_t sqfs_old;
sqfs_reader_t sqfs_new;
- bool old_is_dir;
- bool new_is_dir;
bool compare_super;
const char *extract_dir;
-
- /* holds the coresponding dirfds if old or new is a directory */
- int old_fd;
- int new_fd;
} sqfsdiff_t;
enum {