summaryrefslogtreecommitdiff
path: root/util/libreboot-utils/lib/rand.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-04-01 16:50:50 +0100
committerLeah Rowe <leah@libreboot.org>2026-04-01 16:50:50 +0100
commit3d24aa98f9a38dc246afbf1fb23d3b99b03bea2b (patch)
treee61ee3726ba83be541f3cb24560e79c02ff0f99e /util/libreboot-utils/lib/rand.c
parentae5e74554a362937907a078b0930e9e943a1b67f (diff)
lbutils: remove more unused macros
detected via clang -Weverything Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils/lib/rand.c')
-rw-r--r--util/libreboot-utils/lib/rand.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/util/libreboot-utils/lib/rand.c b/util/libreboot-utils/lib/rand.c
index 02353560..249e2e6c 100644
--- a/util/libreboot-utils/lib/rand.c
+++ b/util/libreboot-utils/lib/rand.c
@@ -4,9 +4,6 @@
* Random number generation
*/
-#ifndef RAND_H
-#define RAND_H
-
#if defined(USE_ARC4) && \
((USE_ARC4) > 0)
#define _DEFAULT_SOURCE 1 /* for arc4random on *linux* */
@@ -201,4 +198,3 @@ err:
exitf("Randomisierungsfehler");
exit(EXIT_FAILURE);
}
-#endif