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 3de977afe3..26ae87a25e 100644
--- a/string.c
+++ b/string.c
@@ -421,7 +421,7 @@ str_strlen(VALUE str, rb_encoding *enc)
* Returns the character length of <i>str</i>.
*/
-static VALUE
+VALUE
rb_str_length(VALUE str)
{
int len;