aboutsummaryrefslogtreecommitdiff
path: root/mkfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-25 22:01:47 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-25 22:01:47 +0200
commit0ad74489aee8717d13b76a3cdf2ee00f5811bf9b (patch)
tree65cb052a3278a5efe795c0732d263198abc2e932 /mkfs
parent37bf7752c31d8fda8faad0cf5f89328215305c60 (diff)
cleanup: remove some redundant header inclusions
The utility programs pretty much all have the same structure of including one central header per C file that includes all required library headers, so we can simply include config.h which we need for large file support from there and remove it from the C files. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs')
-rw-r--r--mkfs/mkfs.c2
-rw-r--r--mkfs/options.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c
index 1d061b4..654534d 100644
--- a/mkfs/mkfs.c
+++ b/mkfs/mkfs.c
@@ -1,6 +1,4 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
-#include "config.h"
-
#include "mkfs.h"
static int process_file(data_writer_t *data, tree_node_t *n, bool quiet)
diff --git a/mkfs/options.c b/mkfs/options.c
index 56de813..f14e6ef 100644
--- a/mkfs/options.c
+++ b/mkfs/options.c
@@ -1,6 +1,4 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
-#include "config.h"
-
#include "mkfs.h"
static struct option long_opts[] = {