diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-17 08:09:27 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-17 08:09:27 +0000 |
| commit | 6b1757da57d02ddb78826be8f3f6c1c2c98643f8 (patch) | |
| tree | 356a08b24be4aa32ea93ae3a7a937216cc719a2e /util/nvmutil | |
| parent | 9a9bcfe0705ada66228a31c74c969bc43c18f11c (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.c | 2 | ||||
| -rw-r--r-- | util/nvmutil/nvmutil.h | 1 |
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. |
