summaryrefslogtreecommitdiff
path: root/unpack/list_files.c
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 /unpack/list_files.c
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 'unpack/list_files.c')
-rw-r--r--unpack/list_files.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/unpack/list_files.c b/unpack/list_files.c
index 4038684..9c48d46 100644
--- a/unpack/list_files.c
+++ b/unpack/list_files.c
@@ -1,10 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
-#include "config.h"
-
#include "rdsquashfs.h"
-#include <sys/sysmacros.h>
-
static void mode_to_str(uint16_t mode, char *p)
{
switch (mode & S_IFMT) {