summaryrefslogtreecommitdiff
path: root/util/nvmutil/nvmutil.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-03 16:25:54 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-03 16:26:58 +0000
commit3983dc44f4ff8c1119fe21b30d7f379b5d81a04b (patch)
treec7e4f421126db3371fa51a56c6d3b1ec28d0f358 /util/nvmutil/nvmutil.c
parent49c294042100b55b8cef059dbcd44f65e48b1775 (diff)
util/nvmutil: don't make op a typedef
it's not required Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/nvmutil.c')
-rw-r--r--util/nvmutil/nvmutil.c6
1 files changed, 3 insertions, 3 deletions
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 },