From 7e4a6c72ff5dad52292923ce8690d1a945afb7bf Mon Sep 17 00:00:00 2001 From: Michal Vasko Date: Mon, 9 Oct 2023 16:23:40 +0200 Subject: [PATCH] tree data BUGFIX missing macro --- src/tree_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tree_data.h b/src/tree_data.h index 063759253..e4bd06841 100644 --- a/src/tree_data.h +++ b/src/tree_data.h @@ -1139,7 +1139,7 @@ LIBYANG_API_DECL LY_ERR lyd_any_copy_value(struct lyd_node *trg, const union lyd * @param[in] node Data node to use. * @return Schema node represented by data @p node, NULL if there is none. */ -const struct lysc_node *lyd_node_schema(const struct lyd_node *node); +LIBYANG_API_DECL const struct lysc_node *lyd_node_schema(const struct lyd_node *node); /** * @brief Create a new inner node in the data tree.