From 77aa322fb74beb174070483ac24d42e2d1a79639 Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Wed, 25 May 2022 14:04:26 -0700 Subject: [PATCH] Remove unnecessary config.h Instead, we should use generated by configure. Signed-off-by: Jaegeuk Kim --- fsck/dict.c | 1 - fsck/mkquota.c | 2 +- fsck/quotaio.c | 1 - fsck/quotaio_tree.c | 1 - fsck/quotaio_v2.c | 1 - lib/nls_utf8.c | 3 +-- mkfs/f2fs_format.c | 2 -- mkfs/f2fs_format_main.c | 4 ++-- tools/f2fs_io/f2fs_io.c | 2 +- tools/f2fscrypt.c | 1 - tools/sha512.c | 1 - 11 files changed, 5 insertions(+), 14 deletions(-) diff --git a/fsck/dict.c b/fsck/dict.c index bb7600c..5b875be 100644 --- a/fsck/dict.c +++ b/fsck/dict.c @@ -20,7 +20,6 @@ #define DICT_NODEBUG -#include "config.h" #include #include #ifdef DICT_NODEBUG diff --git a/fsck/mkquota.c b/fsck/mkquota.c index c419a0f..d18141e 100644 --- a/fsck/mkquota.c +++ b/fsck/mkquota.c @@ -4,7 +4,7 @@ * Aditya Kali * Hyojun Kim - Ported to f2fs-tools */ -#include "config.h" + #include #include #include diff --git a/fsck/quotaio.c b/fsck/quotaio.c index a3815b0..d024752 100644 --- a/fsck/quotaio.c +++ b/fsck/quotaio.c @@ -6,7 +6,6 @@ * Hyojun Kim - Ported to f2fs-tools */ -#include "config.h" #include #include #include diff --git a/fsck/quotaio_tree.c b/fsck/quotaio_tree.c index c203400..40521c5 100644 --- a/fsck/quotaio_tree.c +++ b/fsck/quotaio_tree.c @@ -5,7 +5,6 @@ * Hyojun Kim - Ported to f2fs-tools */ -#include "config.h" #include #include #include diff --git a/fsck/quotaio_v2.c b/fsck/quotaio_v2.c index 9353f85..e19f303 100644 --- a/fsck/quotaio_v2.c +++ b/fsck/quotaio_v2.c @@ -5,7 +5,6 @@ * Hyojun Kim - Ported to f2fs-tools */ -#include "config.h" #include #include #include diff --git a/lib/nls_utf8.c b/lib/nls_utf8.c index 9e7590d..e6f34ba 100644 --- a/lib/nls_utf8.c +++ b/lib/nls_utf8.c @@ -20,14 +20,13 @@ * implementation. */ -#include "config.h" #include #include #include #include #include -#include "f2fs_fs.h" +#include /* Encoding a unicode version number as a single unsigned int. */ #define UNICODE_MAJ_SHIFT (16) diff --git a/mkfs/f2fs_format.c b/mkfs/f2fs_format.c index 6da814d..8fb97af 100644 --- a/mkfs/f2fs_format.c +++ b/mkfs/f2fs_format.c @@ -10,8 +10,6 @@ #define _LARGEFILE64_SOURCE #endif -#include "config.h" - #include #include #include diff --git a/mkfs/f2fs_format_main.c b/mkfs/f2fs_format_main.c index fc028a8..b8a0758 100644 --- a/mkfs/f2fs_format_main.c +++ b/mkfs/f2fs_format_main.c @@ -24,7 +24,8 @@ #include #include -#include "config.h" +#include + #ifdef HAVE_LIBBLKID #include #endif @@ -32,7 +33,6 @@ #include #endif -#include "f2fs_fs.h" #include "quota.h" #include "f2fs_format_utils.h" diff --git a/tools/f2fs_io/f2fs_io.c b/tools/f2fs_io/f2fs_io.c index 0edac6f..2f0fc7b 100644 --- a/tools/f2fs_io/f2fs_io.c +++ b/tools/f2fs_io/f2fs_io.c @@ -43,7 +43,7 @@ #include #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif #include diff --git a/tools/f2fscrypt.c b/tools/f2fscrypt.c index 1233f3a..8640ffa 100644 --- a/tools/f2fscrypt.c +++ b/tools/f2fscrypt.c @@ -20,7 +20,6 @@ #define _GNU_SOURCE #endif -#include "config.h" #include #include diff --git a/tools/sha512.c b/tools/sha512.c index bf0d9a4..c6d35af 100644 --- a/tools/sha512.c +++ b/tools/sha512.c @@ -11,7 +11,6 @@ */ -#include "config.h" #include #include #include