summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2017-05-12 11:08:37 +0200
committerKarel Zak2017-05-12 11:17:02 +0200
commitb8af37d7670b2f328aa5144f168b3b6d2be05c8f (patch)
tree0b6e322b2591e7be953beb380ef496346c04bee6
parentbuild-sys: add AC_STRUCT_TIMEZONE (diff)
downloadkernel-qcow2-util-linux-b8af37d7670b2f328aa5144f168b3b6d2be05c8f.tar.gz
kernel-qcow2-util-linux-b8af37d7670b2f328aa5144f168b3b6d2be05c8f.tar.xz
kernel-qcow2-util-linux-b8af37d7670b2f328aa5144f168b3b6d2be05c8f.zip
build-sys: remove duplicate includes
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--lib/randutils.c1
-rw-r--r--login-utils/utmpdump.c1
-rw-r--r--sys-utils/lsmem.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/lib/randutils.c b/lib/randutils.c
index 72ca550be..09dd26186 100644
--- a/lib/randutils.c
+++ b/lib/randutils.c
@@ -28,7 +28,6 @@
#ifdef HAVE_GETRANDOM
# include <sys/random.h>
#elif defined (__linux__)
-# include <sys/syscall.h>
# if !defined(SYS_getrandom) && defined(__NR_getrandom)
/* usable kernel-headers, but old glibc-headers */
# define SYS_getrandom __NR_getrandom
diff --git a/login-utils/utmpdump.c b/login-utils/utmpdump.c
index fb07e19d0..385a96bf9 100644
--- a/login-utils/utmpdump.c
+++ b/login-utils/utmpdump.c
@@ -42,7 +42,6 @@
#include "c.h"
#include "nls.h"
-#include "timeutils.h"
#include "xalloc.h"
#include "closestream.h"
#include "timeutils.h"
diff --git a/sys-utils/lsmem.c b/sys-utils/lsmem.c
index 69733d871..1756c7536 100644
--- a/sys-utils/lsmem.c
+++ b/sys-utils/lsmem.c
@@ -28,7 +28,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <dirent.h>
-#include <strutils.h>
#include <fcntl.h>
#include <inttypes.h>
#include <assert.h>