summaryrefslogtreecommitdiffstats
path: root/shlibs/blkid
diff options
context:
space:
mode:
authorKarel Zak2010-02-12 10:21:05 +0100
committerKarel Zak2010-02-12 10:21:05 +0100
commita4a1da09cd7b9468e516bceb7bd615c782b284f0 (patch)
tree2ead32a6d14b5a7c86dd40ee266f66a260ad56ab /shlibs/blkid
parentdocs: update TODO file (diff)
downloadkernel-qcow2-util-linux-a4a1da09cd7b9468e516bceb7bd615c782b284f0.tar.gz
kernel-qcow2-util-linux-a4a1da09cd7b9468e516bceb7bd615c782b284f0.tar.xz
kernel-qcow2-util-linux-a4a1da09cd7b9468e516bceb7bd615c782b284f0.zip
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>
Diffstat (limited to 'shlibs/blkid')
-rw-r--r--shlibs/blkid/src/blkidP.h1
-rw-r--r--shlibs/blkid/src/devname.c1
-rw-r--r--shlibs/blkid/src/devno.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/shlibs/blkid/src/blkidP.h b/shlibs/blkid/src/blkidP.h
index d15b53058..377cf0e55 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 5d6da8918..64b3432d6 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 284f87334..288e82ee5 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