aboutsummaryrefslogtreecommitdiff
path: root/bin/gensquashfs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gensquashfs')
-rw-r--r--bin/gensquashfs/src/filemap_xattr.c2
-rw-r--r--bin/gensquashfs/src/fstree_from_dir.c6
-rw-r--r--bin/gensquashfs/src/mkfs.h1
-rw-r--r--bin/gensquashfs/src/sort_by_file.c10
4 files changed, 0 insertions, 19 deletions
diff --git a/bin/gensquashfs/src/filemap_xattr.c b/bin/gensquashfs/src/filemap_xattr.c
index dd76b50..0870d3b 100644
--- a/bin/gensquashfs/src/filemap_xattr.c
+++ b/bin/gensquashfs/src/filemap_xattr.c
@@ -4,9 +4,7 @@
*
* Copyright (C) 2022 Enno Boland <mail@eboland.de>
*/
-#include "fstree.h"
#include "mkfs.h"
-#include <stdio.h>
#define NEW_FILE_START "# file: "
diff --git a/bin/gensquashfs/src/fstree_from_dir.c b/bin/gensquashfs/src/fstree_from_dir.c
index e2558bc..6af4637 100644
--- a/bin/gensquashfs/src/fstree_from_dir.c
+++ b/bin/gensquashfs/src/fstree_from_dir.c
@@ -4,14 +4,8 @@
*
* Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
*/
-#include "config.h"
#include "mkfs.h"
-#include <dirent.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-
int fstree_from_dir(fstree_t *fs, dir_iterator_t *dir)
{
for (;;) {
diff --git a/bin/gensquashfs/src/mkfs.h b/bin/gensquashfs/src/mkfs.h
index 9cb289d..9f2be13 100644
--- a/bin/gensquashfs/src/mkfs.h
+++ b/bin/gensquashfs/src/mkfs.h
@@ -11,7 +11,6 @@
#include "config.h"
#include "common.h"
-#include "fstree.h"
#include "io/dir_iterator.h"
#include "util/util.h"
#include "io/file.h"
diff --git a/bin/gensquashfs/src/sort_by_file.c b/bin/gensquashfs/src/sort_by_file.c
index 023dfb5..4a1be49 100644
--- a/bin/gensquashfs/src/sort_by_file.c
+++ b/bin/gensquashfs/src/sort_by_file.c
@@ -4,18 +4,8 @@
*
* Copyright (C) 2021 David Oberhollenzer <goliath@infraroot.at>
*/
-#include "config.h"
-
-#include "util/util.h"
-#include "fstree.h"
#include "mkfs.h"
-#include "sqfs/block.h"
-
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
-
static int decode_priority(const char *filename, size_t line_no,
char *line, sqfs_s64 *priority)
{