mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Typedefing an array of incomplete structs is non-standard C code.
Approved by: das (mentor)
This commit is contained in:
parent
67fc050f0c
commit
d77f297fd6
1 changed files with 1 additions and 1 deletions
|
|
@ -37,11 +37,11 @@ struct intstr {
|
|||
};
|
||||
|
||||
typedef int (command_t)(int, char **);
|
||||
typedef struct cmd ctbl_t[];
|
||||
struct cmd {
|
||||
const char *name;
|
||||
command_t *handler;
|
||||
};
|
||||
typedef struct cmd ctbl_t[];
|
||||
|
||||
command_t rule_main, ruleset_main;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue