From a4a1da09cd7b9468e516bceb7bd615c782b284f0 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 12 Feb 2010 10:21:05 +0100 Subject: [PATCH] build-sys: remove duplicate #includes $ make checkincludes fsck/fsck.c: errno.h is included more than once. lib/canonicalize.c: string.h is included more than once. shlibs/blkid/src/blkidP.h: stdio.h is included more than once. shlibs/blkid/src/devname.c: string.h is included more than once. shlibs/blkid/src/devno.c: string.h is included more than once. Signed-off-by: Karel Zak --- fsck/fsck.c | 1 - lib/canonicalize.c | 1 - shlibs/blkid/src/blkidP.h | 1 - shlibs/blkid/src/devname.c | 1 - shlibs/blkid/src/devno.c | 1 - 5 files changed, 5 deletions(-) diff --git a/fsck/fsck.c b/fsck/fsck.c index 45d8484a..7577eff1 100644 --- a/fsck/fsck.c +++ b/fsck/fsck.c @@ -37,7 +37,6 @@ #include #include #include -#include #include #include #include diff --git a/lib/canonicalize.c b/lib/canonicalize.c index e54cf0c0..29b3f259 100644 --- a/lib/canonicalize.c +++ b/lib/canonicalize.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include diff --git a/shlibs/blkid/src/blkidP.h b/shlibs/blkid/src/blkidP.h index d15b5305..377cf0e5 100644 --- a/shlibs/blkid/src/blkidP.h +++ b/shlibs/blkid/src/blkidP.h @@ -312,7 +312,6 @@ extern int blkid_openat(DIR *dir, const char *dirname, const char *filename, #define DEBUG_ALL 0xFFFF #ifdef CONFIG_BLKID_DEBUG -#include extern int blkid_debug_mask; extern void blkid_init_debug(int mask); extern void blkid_debug_dump_dev(blkid_dev dev); diff --git a/shlibs/blkid/src/devname.c b/shlibs/blkid/src/devname.c index 5d6da891..64b3432d 100644 --- a/shlibs/blkid/src/devname.c +++ b/shlibs/blkid/src/devname.c @@ -20,7 +20,6 @@ #include #endif #include -#include #include #include #if HAVE_SYS_TYPES_H diff --git a/shlibs/blkid/src/devno.c b/shlibs/blkid/src/devno.c index 284f8733..288e82ee 100644 --- a/shlibs/blkid/src/devno.c +++ b/shlibs/blkid/src/devno.c @@ -16,7 +16,6 @@ #include #endif #include -#include #if HAVE_SYS_TYPES_H #include #endif -- 2.39.5