tests CHANGE rework yin parser element tests
diff --git a/src/tree_schema_free.c b/src/tree_schema_free.c
index 60a392b..f6aa3d3 100644
--- a/src/tree_schema_free.c
+++ b/src/tree_schema_free.c
@@ -137,7 +137,7 @@
 }
 
 void lysc_type_free(struct ly_ctx *ctx, struct lysc_type *type);
-static void
+void
 lysp_type_free(struct ly_ctx *ctx, struct lysp_type *type)
 {
     FREE_STRING(ctx, type->name);