summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld2022-04-21 14:34:29 +0200
committerBernhard Reutner-Fischer2022-04-24 10:03:59 +0200
commit05c366a56095d116f0f8f331f3d494d9580baf33 (patch)
tree8b7b583ec3ba548f16a0eab54c2a5e88e81ff86b
parentf9ea8ba5ed6d43b8b233eac433521eb158e359d1 (diff)
downloadbusybox-05c366a56095d116f0f8f331f3d494d9580baf33.zip
busybox-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>
-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 374e7f6..f7434fb 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. */