data tree CHANGE move macros to functions to cleanup API
Remove lyd_node_children() since it is just an old duplication of
LYD_CHILD and LYD_CHILD_NO_KEYS macros. As a consequence, these macros
are converted to the functions together with LYD_PARENT (same names, but
lowercase) since they have similar functionality in the API.
diff --git a/tests/utests/data/test_lyb.c b/tests/utests/data/test_lyb.c
index ebb69cb..588ad22 100644
--- a/tests/utests/data/test_lyb.c
+++ b/tests/utests/data/test_lyb.c
@@ -45,7 +45,7 @@
/* LYD_TREE_DFS_END */
/* select element for the next run - children first */
- *next = lyd_node_children(*elem, 0);
+ *next = lyd_child(*elem);
if (!*next) {
/* no children */
if (*elem == *start) {