summaryrefslogtreecommitdiff
path: root/util/libreboot-utils/lib/num.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-25 10:36:50 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-25 10:38:37 +0000
commita6da25ad0bbbd23d72c0043735af58aa68e59424 (patch)
treea3e7d5bd5e40b2dd46f8599d5c39a28c7ce42fc7 /util/libreboot-utils/lib/num.c
parentf7f1856969df44c47deca559a1b77b82d4f42cb3 (diff)
libreboot-utils: remove 1989 rand
added as an academic exercise, but pointless in the year 2026. or even the year 1989. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils/lib/num.c')
-rw-r--r--util/libreboot-utils/lib/num.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/util/libreboot-utils/lib/num.c b/util/libreboot-utils/lib/num.c
index c02b6722..41a08f0b 100644
--- a/util/libreboot-utils/lib/num.c
+++ b/util/libreboot-utils/lib/num.c
@@ -13,10 +13,6 @@ TODO: properly handle errno in this file
#include <sys/param.h>
#endif
#include <sys/types.h>
-#if defined(FALLBACK_RAND_1989) && \
- (FALLBACK_RAND_1989) > 0
-#include <sys/time.h>
-#endif
#include <errno.h>
#if !((defined(__OpenBSD__) && (OpenBSD) >= 201) || \
@@ -27,10 +23,6 @@ TODO: properly handle errno in this file
#include <limits.h>
#include <stddef.h>
#include <string.h>
-#if defined(FALLBACK_RAND_1989) && \
- (FALLBACK_RAND_1989) > 0
-#include <time.h>
-#endif
#include <unistd.h>
#include "../include/common.h"