summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2010-02-12 10:21:05 +0100
committerKarel Zak <kzak@redhat.com>2010-02-12 10:21:05 +0100
commita4a1da09cd7b9468e516bceb7bd615c782b284f0 (patch)
tree2ead32a6d14b5a7c86dd40ee266f66a260ad56ab
parentce7ca2aac313228fb89d44cd725512dd3c4efde0 (diff)
downloadutil-linux-old-a4a1da09cd7b9468e516bceb7bd615c782b284f0.tar.gz
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 <kzak@redhat.com>
-rw-r--r--fsck/fsck.c1
-rw-r--r--lib/canonicalize.c1
-rw-r--r--shlibs/blkid/src/blkidP.h1
-rw-r--r--shlibs/blkid/src/devname.c1
-rw-r--r--shlibs/blkid/src/devno.c1
5 files changed, 0 insertions, 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 <string.h>
#include <time.h>
#include <stdlib.h>
-#include <errno.h>
#include <paths.h>
#include <unistd.h>
#include <errno.h>
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 <string.h>
#include <ctype.h>
#include <unistd.h>
-#include <string.h>
#include <errno.h>
#include <stdlib.h>
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 <stdio.h>
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 <unistd.h>
#endif
#include <stdlib.h>
-#include <string.h>
#include <ctype.h>
#include <fcntl.h>
#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 <unistd.h>
#endif
#include <stdlib.h>
-#include <string.h>
#if HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif