From 665221e904df597925fc411d443802b20758b71f Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 1 Jun 2023 14:28:20 +0200 Subject: Cleanup some redundant header inclusions Signed-off-by: David Oberhollenzer --- bin/gensquashfs/src/filemap_xattr.c | 2 -- bin/gensquashfs/src/fstree_from_dir.c | 6 ------ bin/gensquashfs/src/mkfs.h | 1 - bin/gensquashfs/src/sort_by_file.c | 10 ---------- 4 files changed, 19 deletions(-) (limited to 'bin/gensquashfs/src') 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 */ -#include "fstree.h" #include "mkfs.h" -#include #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 */ -#include "config.h" #include "mkfs.h" -#include -#include -#include -#include - 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 */ -#include "config.h" - -#include "util/util.h" -#include "fstree.h" #include "mkfs.h" -#include "sqfs/block.h" - -#include -#include -#include - static int decode_priority(const char *filename, size_t line_no, char *line, sqfs_s64 *priority) { -- cgit v1.2.3