diff BUGFIX function renamed
diff --git a/src/diff.c b/src/diff.c
index 251d259..d5dd341 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -1652,7 +1652,7 @@
 }
 
 API LY_ERR
-lyd_diff_reverse(const struct lyd_node *src_diff, struct lyd_node **diff)
+lyd_diff_reverse_all(const struct lyd_node *src_diff, struct lyd_node **diff)
 {
     LY_ERR ret = LY_SUCCESS;
     const struct lys_module *mod;