summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-10 14:12:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-10 14:12:04 +0000
commitd52844380aa55d9449af2b9c6ba271be88d54829 (patch)
tree5982798c52f41062909bd10764cbdbd77fd90b7a /string.c
parentc0796c36b59e28a12faabe8eaca0a3950937af6f (diff)
string.c: rb_str_subpos
* string.c (rb_str_subpos): make public function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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;