Fix compiler warning about variable length field not last in struct.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2020-04-12 12:40:12 +02:00 committed by bstoeger
parent a537894553
commit 1690ba7c0c

View file

@ -771,8 +771,8 @@ static int get_divemode(const char *divemodestring) {
*/
struct parse_event {
const char *name;
struct event ev;
int has_divemode;
struct event ev;
};
static void parse_event_keyvalue(void *_parse, const char *key, const char *value)