summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index d9c06660a9..9824ccb520 100644
--- a/string.c
+++ b/string.c
@@ -1658,7 +1658,7 @@ rb_str_subseq(VALUE str, long beg, long len)
return str2;
}
-static char *
+char *
rb_str_subpos(VALUE str, long beg, long *lenp)
{
long len = *lenp;