From 6b1757da57d02ddb78826be8f3f6c1c2c98643f8 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 17 Mar 2026 08:09:27 +0000 Subject: prototype for new_state() in nvmutil Signed-off-by: Leah Rowe --- util/nvmutil/nvmutil.c | 2 +- util/nvmutil/nvmutil.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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. -- cgit v1.2.1