summaryrefslogtreecommitdiff
path: root/util/libreboot-utils/nvmutil.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-04-01 11:36:41 +0100
committerLeah Rowe <leah@libreboot.org>2026-04-01 11:52:53 +0100
commit2c40ad78166c4cdb667caf4238080a4708c43326 (patch)
treedc67bccbc3eb8725e1d5be65dc9f638ff650b5a2 /util/libreboot-utils/nvmutil.c
parent716140b80feebaeea5ef833de1f6acae68e8a8f1 (diff)
lbutils: only use GNU SOURCE for syscall
and remove manual prototypes; fchmod, realpath and so on rely on the _XOPEN_SOURCE macro. the POSIX macro wasn't needed: _XOPEN_SOURCE is sufficient. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils/nvmutil.c')
-rw-r--r--util/libreboot-utils/nvmutil.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/util/libreboot-utils/nvmutil.c b/util/libreboot-utils/nvmutil.c
index c805f523..ee20e851 100644
--- a/util/libreboot-utils/nvmutil.c
+++ b/util/libreboot-utils/nvmutil.c
@@ -6,10 +6,6 @@
* These images configure your Intel Gigabit Ethernet adapter.
*/
-#ifndef _POSIX_C_SOURCE
-#define _POSIX_C_SOURCE 200809L
-#endif
-
#include <sys/types.h>
#include <sys/stat.h>