Revert "use designated initializers for yajl_callbacks struct"
This reverts commit 705b43294a
.
This commit broke i3bar for some users.
This commit is contained in:
@ -51,10 +51,17 @@ static int json_end_map(void *ctx) {
|
||||
}
|
||||
|
||||
static yajl_callbacks command_error_callbacks = {
|
||||
.yajl_boolean = json_boolean,
|
||||
.yajl_start_map = json_start_map,
|
||||
.yajl_map_key = json_map_key,
|
||||
.yajl_end_map = json_end_map,
|
||||
NULL,
|
||||
&json_boolean,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
&json_start_map,
|
||||
&json_map_key,
|
||||
&json_end_map,
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user