From: Karel Zak Date: Tue, 4 Jan 2011 21:36:09 +0000 (+0100) Subject: remove duplicate includes X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=218f9d3d6662800b2a85f2ade9824776d23137ae;p=util-linux remove duplicate includes Signed-off-by: Karel Zak --- diff --git a/lib/cpuset.c b/lib/cpuset.c index 27b23498..0c483fa5 100644 --- a/lib/cpuset.c +++ b/lib/cpuset.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include diff --git a/lib/strutils.c b/lib/strutils.c index 9a59e67b..94635b1e 100644 --- a/lib/strutils.c +++ b/lib/strutils.c @@ -277,10 +277,6 @@ char *size_to_human_string(uint64_t bytes) #ifdef TEST_PROGRAM -#include -#include -#include - int main(int argc, char *argv[]) { uintmax_t size = 0; diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c index 9d0f0160..af77c569 100644 --- a/misc-utils/lsblk.c +++ b/misc-utils/lsblk.c @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include diff --git a/mount/lomount.c b/mount/lomount.c index 4d99d9f6..4d23a615 100644 --- a/mount/lomount.c +++ b/mount/lomount.c @@ -955,8 +955,6 @@ find_unused_loop_device (void) { #include #include -#include "strutils.h" - static void usage(FILE *f) { fprintf(f, _("\nUsage:\n" diff --git a/shlibs/blkid/src/blkidP.h b/shlibs/blkid/src/blkidP.h index 956a84e2..ab954e06 100644 --- a/shlibs/blkid/src/blkidP.h +++ b/shlibs/blkid/src/blkidP.h @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/shlibs/mount/src/cache.c b/shlibs/mount/src/cache.c index 0578c065..3ed69e1b 100644 --- a/shlibs/mount/src/cache.c +++ b/shlibs/mount/src/cache.c @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/shlibs/mount/src/optstr.c b/shlibs/mount/src/optstr.c index 8894dfba..8689dfb6 100644 --- a/shlibs/mount/src/optstr.c +++ b/shlibs/mount/src/optstr.c @@ -27,8 +27,6 @@ #include #endif -#include - #include "nls.h" #include "mountP.h" diff --git a/shlibs/mount/src/tab_update.c b/shlibs/mount/src/tab_update.c index cf32baf1..fffdd20c 100644 --- a/shlibs/mount/src/tab_update.c +++ b/shlibs/mount/src/tab_update.c @@ -817,8 +817,6 @@ int mnt_update_tab(mnt_update *upd, mnt_lock *lc) #ifdef TEST_PROGRAM -#include - mnt_lock *lock; static void lock_fallback(void)