lbutils: remove more unused macros

detected via clang -Weverything

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-04-01 16:50:50 +01:00
parent ae5e74554a
commit 3d24aa98f9
2 changed files with 0 additions and 8 deletions
-4
View File
@@ -4,10 +4,6 @@
* Hardened mktemp (be nice to the demon). * Hardened mktemp (be nice to the demon).
*/ */
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 700
#endif
/* for openat2 / fast path: */ /* for openat2 / fast path: */
#ifdef __linux__ #ifdef __linux__
#if !defined(USE_OPENAT) || \ #if !defined(USE_OPENAT) || \
-4
View File
@@ -4,9 +4,6 @@
* Random number generation * Random number generation
*/ */
#ifndef RAND_H
#define RAND_H
#if defined(USE_ARC4) && \ #if defined(USE_ARC4) && \
((USE_ARC4) > 0) ((USE_ARC4) > 0)
#define _DEFAULT_SOURCE 1 /* for arc4random on *linux* */ #define _DEFAULT_SOURCE 1 /* for arc4random on *linux* */
@@ -201,4 +198,3 @@ err:
exitf("Randomisierungsfehler"); exitf("Randomisierungsfehler");
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
#endif