struct cYAML *obj = NULL;
if (!list_empty(list)) {
- pop = list_entry(list->next, struct cYAML_ll, list);
+ pop = list_first_entry(list, struct cYAML_ll, list);
obj = pop->obj;
if (print_info != NULL)
return (node != NULL ? node->cy_type == CYAML_TYPE_ARRAY : 0);
}
-void cYAML_tree_recursive_walk(struct cYAML *node, cYAML_walk_cb cb,
+static void cYAML_tree_recursive_walk(struct cYAML *node, cYAML_walk_cb cb,
bool cb_first,
void *usr_data,
void **out)