Remove unnecessary config.h

Instead, we should use <config.h> generated by configure.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
Jaegeuk Kim 2022-05-25 14:04:26 -07:00 committed by sunshenshen
parent 72de6cc108
commit 77aa322fb7
11 changed files with 5 additions and 14 deletions

View File

@ -20,7 +20,6 @@
#define DICT_NODEBUG #define DICT_NODEBUG
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <stddef.h> #include <stddef.h>
#ifdef DICT_NODEBUG #ifdef DICT_NODEBUG

View File

@ -4,7 +4,7 @@
* Aditya Kali <adityakali@google.com> * Aditya Kali <adityakali@google.com>
* Hyojun Kim <hyojun@google.com> - Ported to f2fs-tools * Hyojun Kim <hyojun@google.com> - Ported to f2fs-tools
*/ */
#include "config.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>

View File

@ -6,7 +6,6 @@
* Hyojun Kim <hyojun@google.com> - Ported to f2fs-tools * Hyojun Kim <hyojun@google.com> - Ported to f2fs-tools
*/ */
#include "config.h"
#include <stdio.h> #include <stdio.h>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>

View File

@ -5,7 +5,6 @@
* Hyojun Kim <hyojun@google.com> - Ported to f2fs-tools * Hyojun Kim <hyojun@google.com> - Ported to f2fs-tools
*/ */
#include "config.h"
#include <sys/types.h> #include <sys/types.h>
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>

View File

@ -5,7 +5,6 @@
* Hyojun Kim <hyojun@google.com> - Ported to f2fs-tools * Hyojun Kim <hyojun@google.com> - Ported to f2fs-tools
*/ */
#include "config.h"
#include <sys/types.h> #include <sys/types.h>
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>

View File

@ -20,14 +20,13 @@
* implementation. * implementation.
*/ */
#include "config.h"
#include <stdint.h> #include <stdint.h>
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <limits.h> #include <limits.h>
#include <errno.h> #include <errno.h>
#include "f2fs_fs.h" #include <f2fs_fs.h>
/* Encoding a unicode version number as a single unsigned int. */ /* Encoding a unicode version number as a single unsigned int. */
#define UNICODE_MAJ_SHIFT (16) #define UNICODE_MAJ_SHIFT (16)

View File

@ -10,8 +10,6 @@
#define _LARGEFILE64_SOURCE #define _LARGEFILE64_SOURCE
#endif #endif
#include "config.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <fcntl.h> #include <fcntl.h>

View File

@ -24,7 +24,8 @@
#include <errno.h> #include <errno.h>
#include <getopt.h> #include <getopt.h>
#include "config.h" #include <f2fs_fs.h>
#ifdef HAVE_LIBBLKID #ifdef HAVE_LIBBLKID
#include <blkid/blkid.h> #include <blkid/blkid.h>
#endif #endif
@ -32,7 +33,6 @@
#include <uuid/uuid.h> #include <uuid/uuid.h>
#endif #endif
#include "f2fs_fs.h"
#include "quota.h" #include "quota.h"
#include "f2fs_format_utils.h" #include "f2fs_format_utils.h"

View File

@ -43,7 +43,7 @@
#include <unistd.h> #include <unistd.h>
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include <config.h>
#endif #endif
#include <android_config.h> #include <android_config.h>

View File

@ -20,7 +20,6 @@
#define _GNU_SOURCE #define _GNU_SOURCE
#endif #endif
#include "config.h"
#include <f2fs_fs.h> #include <f2fs_fs.h>
#include <assert.h> #include <assert.h>

View File

@ -11,7 +11,6 @@
*/ */
#include "config.h"
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <getopt.h> #include <getopt.h>