]> 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>
Tue, 16 Feb 2010 08:58:57 +0000 (09:58 +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 66c027c7eb2602acc0fba938718a4bc5797698b1..e9e645fefb33e07ed1db54fecd638569c8c971a5 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 975878c4ba43eaa9214c4cf4403ee9a29041cb62..113977bdce0b73c2506495b623feb41c8d030e3f 100644 (file)
@@ -309,7 +309,6 @@ extern int blkid_fstatat(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 d048c722259782adfec9a18bea9ee8d138d86220..87e4fb965cc9577b368ab01ac88cbd1311f9f982 100644 (file)
@@ -20,7 +20,6 @@
 #include <unistd.h>
 #endif
 #include <stdlib.h>
-#include <string.h>
 #include <ctype.h>
 #if HAVE_SYS_TYPES_H
 #include <sys/types.h>
index 7b9438ff797ec83dfc5841be8d569701ea7ae090..aae5756863c408cc4cdb7cfda38ecd45629bf713 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