Browse Source

Minor changes

Serj Kalichev 1 year ago
parent
commit
33cb020501
2 changed files with 1 additions and 2 deletions
  1. 1 1
      src/kly.c
  2. 0 1
      src/private.h

+ 1 - 1
src/kly.c

@@ -178,7 +178,7 @@ const struct lysc_node *klysc_find_child(const struct lysc_node *node,
 }
 
 
-struct lysc_ident *klysc_find_ident(struct lysc_ident *ident, const char *name)
+static struct lysc_ident *klysc_find_ident(struct lysc_ident *ident, const char *name)
 {
 	LY_ARRAY_COUNT_TYPE u = 0;
 

+ 0 - 1
src/private.h

@@ -96,7 +96,6 @@ const char *klysc_node_ext_default(const struct lysc_node *node);
 char *klyd_node_value(const struct lyd_node *node);
 const struct lysc_node *klysc_find_child(const struct lysc_node *node,
 	const char *name);
-struct lysc_ident *klysc_find_ident(struct lysc_ident *ident, const char *name);
 char *klysc_leafref_xpath(const struct lysc_node *node, const char *node_path);
 const char *klysc_identityref_prefix(struct lysc_type_identityref *type,
 	const char *name);