summaryrefslogtreecommitdiff
path: root/shlibs
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2011-01-04 22:36:09 +0100
committerKarel Zak <kzak@redhat.com>2011-01-04 22:36:09 +0100
commit218f9d3d6662800b2a85f2ade9824776d23137ae (patch)
tree40ae4404381823a09d44a322b20755a4292e0439 /shlibs
parente5b17b316a79f24ab5226cb60d43192e70d78650 (diff)
downloadutil-linux-old-218f9d3d6662800b2a85f2ade9824776d23137ae.tar.gz
remove duplicate includes
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs')
-rw-r--r--shlibs/blkid/src/blkidP.h1
-rw-r--r--shlibs/mount/src/cache.c1
-rw-r--r--shlibs/mount/src/optstr.c2
-rw-r--r--shlibs/mount/src/tab_update.c2
4 files changed, 0 insertions, 6 deletions
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 <sys/types.h>
#include <dirent.h>
#include <sys/stat.h>
-#include <sys/types.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdint.h>
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 <stdlib.h>
#include <ctype.h>
#include <limits.h>
-#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
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 <selinux/context.h>
#endif
-#include <ctype.h>
-
#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 <errno.h>
-
mnt_lock *lock;
static void lock_fallback(void)