summaryrefslogtreecommitdiff
path: root/util/nvmutil
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-12 13:54:04 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-12 13:54:04 +0000
commitaf1a219e40b198e5b61d5b294826dee4a8eb6ee7 (patch)
tree02296d2a0816281eb7499404728eebc477775269 /util/nvmutil
parent8269b05a637144ca88d567e15fcc0212f9d10b0e (diff)
util/nvmutil: remove errno extern
may break modern systems. and all old systems that i care about will handle errno just fine. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil')
-rw-r--r--util/nvmutil/nvmutil.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 1dd59aca..8bb42bf5 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -431,10 +431,6 @@ static const struct commands command[] = {
*/
static size_t cmd_index = CMD_NULL;
-#ifndef errno
-extern int errno;
-#endif
-
typedef char assert_argc3[(ARGC_3==3)?1:-1];
typedef char assert_argc4[(ARGC_4==4)?1:-1];