Typedefing an array of incomplete structs is non-standard C code.

Approved by:	das (mentor)
This commit is contained in:
Stefan Farfeleder 2004-06-02 23:02:31 +00:00
parent 67fc050f0c
commit d77f297fd6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130021

View File

@ -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;