From e0038e4744ab9b6ca4d42677a8bd9b8116006c4e Mon Sep 17 00:00:00 2001 From: Petr Gotthard Date: Sat, 7 Sep 2024 17:49:51 +0200 Subject: [PATCH] tree data new BUGFIX correctly mark lyd_new_term_bin definition --- src/tree_data_new.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tree_data_new.c b/src/tree_data_new.c index 3e6b88533..792e019ed 100644 --- a/src/tree_data_new.c +++ b/src/tree_data_new.c @@ -885,7 +885,7 @@ lyd_new_term(struct lyd_node *parent, const struct lys_module *module, const cha return _lyd_new_term(parent, module, name, value, value ? strlen(value) : 0, options, node); } -LIBYANG_API_DECL LY_ERR +LIBYANG_API_DEF LY_ERR lyd_new_term_bin(struct lyd_node *parent, const struct lys_module *module, const char *name, const void *value, size_t value_len, uint32_t options, struct lyd_node **node) {