internal tree schema CHANGE add lysp_ prefix to match_kw function
diff --git a/src/parser_yang.c b/src/parser_yang.c
index f8735ba..63b643d 100644
--- a/src/parser_yang.c
+++ b/src/parser_yang.c
@@ -767,7 +767,7 @@
keyword_start:
word_start = *data;
- *kw = match_kw(ctx, data);
+ *kw = lysp_match_kw(ctx, data);
if (*kw == YANG_SEMICOLON || *kw == YANG_LEFT_BRACE || *kw == YANG_RIGHT_BRACE) {
goto success;
diff --git a/src/parser_yin.c b/src/parser_yin.c
index d55d47a..8b5f32e 100644
--- a/src/parser_yin.c
+++ b/src/parser_yin.c
@@ -55,7 +55,7 @@
}
const char *start = data;
- enum yang_keyword kw = match_kw(NULL, &data);
+ enum yang_keyword kw = lysp_match_kw(NULL, &data);
if (prefix_len != 0) {
diff --git a/src/tree_schema_helpers.c b/src/tree_schema_helpers.c
index 6e624e6..8cfdbc7 100644
--- a/src/tree_schema_helpers.c
+++ b/src/tree_schema_helpers.c
@@ -1259,7 +1259,7 @@
}
enum yang_keyword
-match_kw(struct lys_parser_ctx *ctx, const char **data)
+lysp_match_kw(struct lys_parser_ctx *ctx, const char **data)
{
/**
* @brief Move the DATA pointer by COUNT items. Also updates the indent value in yang parser context
diff --git a/src/tree_schema_internal.h b/src/tree_schema_internal.h
index a35a594..e263542 100644
--- a/src/tree_schema_internal.h
+++ b/src/tree_schema_internal.h
@@ -691,6 +691,6 @@
*
* return yang_keyword values.
*/
-enum yang_keyword match_kw(struct lys_parser_ctx *ctx, const char **data);
+enum yang_keyword lysp_match_kw(struct lys_parser_ctx *ctx, const char **data);
#endif /* LY_TREE_SCHEMA_INTERNAL_H_ */