mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-21 18:41:05 +02:00
util/nvmutil: don't make op a typedef
it's not required Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -74,12 +74,12 @@ static const char *mac = NULL;
|
|||||||
static const char *rmac = "xx:xx:xx:xx:xx:xx";
|
static const char *rmac = "xx:xx:xx:xx:xx:xx";
|
||||||
static const char *fname = "";
|
static const char *fname = "";
|
||||||
|
|
||||||
typedef struct op {
|
struct op {
|
||||||
const char *str;
|
const char *str;
|
||||||
void (*cmd)(void);
|
void (*cmd)(void);
|
||||||
int args;
|
int args;
|
||||||
} op;
|
};
|
||||||
static const op ops[] = {
|
static const struct op ops[] = {
|
||||||
{ "dump", cmd_dump, 3 },
|
{ "dump", cmd_dump, 3 },
|
||||||
{ "setmac", cmd_setmac, 3 },
|
{ "setmac", cmd_setmac, 3 },
|
||||||
{ "swap", cmd_swap, 3 },
|
{ "swap", cmd_swap, 3 },
|
||||||
|
|||||||
Reference in New Issue
Block a user