summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-04-21 14:34:29 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2022-04-24 10:03:59 +0200
commit05c366a56095d116f0f8f331f3d494d9580baf33 (patch)
tree8b7b583ec3ba548f16a0eab54c2a5e88e81ff86b /util-linux
parentf9ea8ba5ed6d43b8b233eac433521eb158e359d1 (diff)
downloadbusybox-05c366a56095d116f0f8f331f3d494d9580baf33.tar.gz
seedrng: prune header includes
Remove redundant includes. We have platform specific handling in libbb.h and platform.h so we can handle quirks in a central place. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/seedrng.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/util-linux/seedrng.c b/util-linux/seedrng.c
index 374e7f676..f7434fb79 100644
--- a/util-linux/seedrng.c
+++ b/util-linux/seedrng.c
@@ -44,21 +44,7 @@
#include <linux/random.h>
#include <sys/random.h>
-#include <sys/ioctl.h>
#include <sys/file.h>
-#include <sys/stat.h>
-#include <sys/types.h>
-#include <fcntl.h>
-#include <poll.h>
-#include <unistd.h>
-#include <time.h>
-#include <errno.h>
-#include <endian.h>
-#include <stdbool.h>
-#include <stdint.h>
-#include <string.h>
-#include <stdio.h>
-#include <stdlib.h>
#ifndef GRND_INSECURE
#define GRND_INSECURE 0x0004 /* Apparently some headers don't ship with this yet. */