]> err.no Git - util-linux/commitdiff
build-sys: remove duplicate #includes
authorKarel Zak <kzak@redhat.com>
Fri, 12 Feb 2010 09:21:05 +0000 (10:21 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 12 Feb 2010 09:21:05 +0000 (10:21 +0100)
$ 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>
fsck/fsck.c
lib/canonicalize.c
shlibs/blkid/src/blkidP.h
shlibs/blkid/src/devname.c
shlibs/blkid/src/devno.c

index 45d8484a0d10697b862d62720e9cacc26070ccbf..7577eff13978fe2c99023801c0476bae77b8c2d4 100644 (file)
@@ -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>
index e54cf0c06aebc96dafb1b9b67a8414dbba93a639..29b3f2592a5f3c58b378bcca9eb322b32a0bd44f 100644 (file)
@@ -24,7 +24,6 @@
 #include <string.h>
 #include <ctype.h>
 #include <unistd.h>
-#include <string.h>
 #include <errno.h>
 #include <stdlib.h>
 
index d15b53058bc8642fe5eaebf257a79863ffdbc472..377cf0e552dd951239968787efbc88e44e093967 100644 (file)
@@ -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);
index 5d6da8918956a13b6846fb411e9a36dd090a7318..64b3432d634536944a97d7e1900e5c635790cb18 100644 (file)
@@ -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
index 284f87334fe016e70b789fdf549c8a168403b49d..288e82ee58082e04372e131c29281179f5aa3ad6 100644 (file)
@@ -16,7 +16,6 @@
 #include <unistd.h>
 #endif
 #include <stdlib.h>
-#include <string.h>
 #if HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif