From d146ab8630a3fa9f91560ef24b02850e94e61118 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 11 Jun 2019 13:36:14 +0200 Subject: cleanup: mkfs: remove redundant header inclusions Signed-off-by: David Oberhollenzer --- mkfs/mkfs.c | 1 - mkfs/mkfs.h | 4 ++++ mkfs/options.c | 10 ---------- 3 files changed, 4 insertions(+), 11 deletions(-) (limited to 'mkfs') diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c index 8028919..8317bd2 100644 --- a/mkfs/mkfs.c +++ b/mkfs/mkfs.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-or-later */ #include "mkfs.h" -#include "util.h" static int padd_file(int outfd, sqfs_super_t *super, options_t *opt) { diff --git a/mkfs/mkfs.h b/mkfs/mkfs.h index a743cf7..cea9ebc 100644 --- a/mkfs/mkfs.h +++ b/mkfs/mkfs.h @@ -10,14 +10,18 @@ #include "id_table.h" #include "fstree.h" #include "config.h" +#include "util.h" +#include #include #include #include #include +#include #include #include #include +#include typedef struct { unsigned int def_uid; diff --git a/mkfs/options.c b/mkfs/options.c index 8ed01ba..e1223ad 100644 --- a/mkfs/options.c +++ b/mkfs/options.c @@ -1,15 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-or-later */ #include "mkfs.h" -#include "util.h" - -#include -#include -#include -#include -#include -#include -#include -#include static struct option long_opts[] = { { "compressor", required_argument, NULL, 'c' }, -- cgit v1.2.3