From 3983dc44f4ff8c1119fe21b30d7f379b5d81a04b Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 3 Mar 2026 16:25:54 +0000 Subject: util/nvmutil: don't make op a typedef it's not required Signed-off-by: Leah Rowe --- util/nvmutil/nvmutil.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util/nvmutil') diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index 1033da73..c1ed8cdb 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -74,12 +74,12 @@ static const char *mac = NULL; static const char *rmac = "xx:xx:xx:xx:xx:xx"; static const char *fname = ""; -typedef struct op { +struct op { const char *str; void (*cmd)(void); int args; -} op; -static const op ops[] = { +}; +static const struct op ops[] = { { "dump", cmd_dump, 3 }, { "setmac", cmd_setmac, 3 }, { "swap", cmd_swap, 3 }, -- cgit v1.2.1