libyang REFACTOR small formatting issues
diff --git a/src/diff.c b/src/diff.c
index 13acf87..dc2a462 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -1435,8 +1435,8 @@
sleaf = (struct lysc_node_leaf *)diff_match->schema;
}
- if (sleaf && sleaf->dflt &&
- !sleaf->dflt->realtype->plugin->compare(sleaf->dflt, &((struct lyd_node_term *)src_diff)->value)) {
+ if (sleaf && sleaf->dflt && !sleaf->dflt->realtype->plugin->compare(sleaf->dflt,
+ &((struct lyd_node_term *)src_diff)->value)) {
/* we deleted it, so a default value was in-use, and it matches the created value -> operation NONE */
LY_CHECK_RET(lyd_diff_change_op(diff_match, LYD_DIFF_OP_NONE));
} else if (!lyd_compare_single(diff_match, src_diff, 0)) {
diff --git a/src/tree_data.h b/src/tree_data.h
index 3792439..f32343f 100644
--- a/src/tree_data.h
+++ b/src/tree_data.h
@@ -1042,7 +1042,8 @@
* key-less lists.
* @return LY_ERR value.
*/
-LY_ERR lyd_new_list(struct lyd_node *parent, const struct lys_module *module, const char *name, ly_bool output, struct lyd_node **node, ...);
+LY_ERR lyd_new_list(struct lyd_node *parent, const struct lys_module *module, const char *name, ly_bool output,
+ struct lyd_node **node, ...);
/**
* @brief Create a new top-level list node defined in the given extension instance.