Revert "use designated initializers for yajl_callbacks struct"
This reverts commit 705b43294a
.
This commit broke i3bar for some users.
This commit is contained in:
@ -73,8 +73,17 @@ static int mode_map_key_cb(void *params_, const unsigned char *keyVal, unsigned
|
||||
|
||||
/* A datastructure to pass all these callbacks to yajl */
|
||||
yajl_callbacks mode_callbacks = {
|
||||
.yajl_string = mode_string_cb,
|
||||
.yajl_map_key = mode_map_key_cb,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
&mode_string_cb,
|
||||
NULL,
|
||||
&mode_map_key_cb,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user