summaryrefslogtreecommitdiff
path: root/lib/yang.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2024-07-27 01:07:57 -0400
committerChristian Hopps <chopps@labn.net>2024-09-17 03:04:59 -0400
commit0913d9fc0ea4975eb0dd37f5ca84af2264833687 (patch)
tree9e31cb3807c8bb367fa62b1f1962a6354247431e /lib/yang.c
parentaab2946088da9f546a09ceecfac08b20cef909c7 (diff)
lib: constify yang_resolve_snode_xpath results
Signed-off-by: Christian Hopps <chopps@labn.net> ang
Diffstat (limited to 'lib/yang.c')
-rw-r--r--lib/yang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yang.c b/lib/yang.c
index 6c1aed00cc..14d5b118c6 100644
--- a/lib/yang.c
+++ b/lib/yang.c
@@ -286,7 +286,7 @@ void yang_snode_get_path(const struct lysc_node *snode,
}
LY_ERR yang_resolve_snode_xpath(struct ly_ctx *ly_ctx, const char *xpath,
- struct lysc_node ***snodes, bool *simple)
+ const struct lysc_node ***snodes, bool *simple)
{
struct lysc_node *snode;
struct ly_set *set;