[git commit] seedrng: prune header includes
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Sun Apr 24 08:03:59 UTC 2022
commit: https://git.busybox.net/busybox/commit/?id=05c366a56095d116f0f8f331f3d494d9580baf33
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
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 at zx2c4.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
util-linux/seedrng.c | 14 --------------
1 file changed, 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. */
More information about the busybox-cvs
mailing list