diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-01 14:28:20 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-01 14:28:20 +0200 |
commit | 665221e904df597925fc411d443802b20758b71f (patch) | |
tree | b26789d7cc7fb46a35735befee7f02638e4d8ea5 /bin/gensquashfs/src | |
parent | 50b67940c793e72656787469ced6e0245bb580b4 (diff) |
Cleanup some redundant header inclusions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/gensquashfs/src')
-rw-r--r-- | bin/gensquashfs/src/filemap_xattr.c | 2 | ||||
-rw-r--r-- | bin/gensquashfs/src/fstree_from_dir.c | 6 | ||||
-rw-r--r-- | bin/gensquashfs/src/mkfs.h | 1 | ||||
-rw-r--r-- | bin/gensquashfs/src/sort_by_file.c | 10 |
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) { |