summaryrefslogtreecommitdiff
path: root/util/nvmutil
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-17 08:09:27 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-26 06:59:42 +0000
commitc1c49c394571719ed9c27c65af4f26a239af4bd4 (patch)
tree3325d7eceaa2f5855db7c54cad509153226d5426 /util/nvmutil
parent50695c9fbd64c1b0f0e7591a7c2c4d7b3838e70f (diff)
prototype for new_state() in nvmutil
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil')
-rw-r--r--util/nvmutil/nvmutil.c2
-rw-r--r--util/nvmutil/nvmutil.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 55d4f946..c6fabf93 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -144,7 +144,7 @@ new_xstate(void)
return xs_new;
}
-struct xstate *nv = NULL;
+static struct xstate *nv = NULL;
int
main(int argc, char *argv[])
diff --git a/util/nvmutil/nvmutil.h b/util/nvmutil/nvmutil.h
index db82de78..b90a2e91 100644
--- a/util/nvmutil/nvmutil.h
+++ b/util/nvmutil/nvmutil.h
@@ -291,6 +291,7 @@ struct xstate {
+static struct xstate *new_xstate(void);
/*
* Sanitize command tables.