schema REFACTOR rename lys_find_ext_instance_node() to lysc_ext_find_node()
Also add description of the function and move the declaration to the more
appropriate place in source codes.
diff --git a/src/parser_json.c b/src/parser_json.c
index fcfe88e..f811b74 100644
--- a/src/parser_json.c
+++ b/src/parser_json.c
@@ -230,7 +230,7 @@
/* get the schema node */
if (mod && (!parent || parent->schema)) {
if (!parent && lydctx->ext) {
- *snode_p = lys_find_ext_instance_node(lydctx->ext, mod, name, name_len, 0, getnext_opts);
+ *snode_p = lysc_ext_find_node(lydctx->ext, mod, name, name_len, 0, getnext_opts);
} else {
*snode_p = lys_find_child(parent ? parent->schema : NULL, mod, name, name_len, 0, getnext_opts);
}