data FEATURE support for validating and parsing decimal64 values
diff --git a/src/tree_schema_compile.c b/src/tree_schema_compile.c
index 97eed85..4e3bed6 100644
--- a/src/tree_schema_compile.c
+++ b/src/tree_schema_compile.c
@@ -1002,7 +1002,7 @@
  * @param[out] valcopy NULL-terminated string with the numeric value to parse and store.
  * @return LY_ERR value - LY_SUCCESS, LY_EMEM, LY_EVALID (no number) or LY_EINVAL (decimal64 not matching fraction-digits value).
  */
-static LY_ERR
+LY_ERR
 range_part_check_value_syntax(struct lysc_ctx *ctx, LY_DATA_TYPE basetype, uint8_t frdigits, const char *value, size_t *len, char **valcopy)
 {
     size_t fraction = 0, size;