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 ---------- bin/rdsquashfs/src/fill_files.c | 1 - bin/rdsquashfs/src/rdsquashfs.h | 1 - bin/sqfsdiff/src/sqfsdiff.h | 1 - 7 files changed, 22 deletions(-) (limited to 'bin') 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) { diff --git a/bin/rdsquashfs/src/fill_files.c b/bin/rdsquashfs/src/fill_files.c index 3104146..08e11f5 100644 --- a/bin/rdsquashfs/src/fill_files.c +++ b/bin/rdsquashfs/src/fill_files.c @@ -4,7 +4,6 @@ * * Copyright (C) 2019 David Oberhollenzer */ -#include "config.h" #include "rdsquashfs.h" static struct file_ent { diff --git a/bin/rdsquashfs/src/rdsquashfs.h b/bin/rdsquashfs/src/rdsquashfs.h index 56bb836..f9f75e9 100644 --- a/bin/rdsquashfs/src/rdsquashfs.h +++ b/bin/rdsquashfs/src/rdsquashfs.h @@ -9,7 +9,6 @@ #include "config.h" #include "common.h" -#include "fstree.h" #include "util/util.h" #ifdef _WIN32 diff --git a/bin/sqfsdiff/src/sqfsdiff.h b/bin/sqfsdiff/src/sqfsdiff.h index 65e8120..ca9a4a7 100644 --- a/bin/sqfsdiff/src/sqfsdiff.h +++ b/bin/sqfsdiff/src/sqfsdiff.h @@ -9,7 +9,6 @@ #include "config.h" #include "common.h" -#include "fstree.h" #include "util/util.h" #include -- cgit v1.2.3