mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 21:13:11 +01: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130021
@ -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 New Issue
Block a user