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 d661cfa003..a9359a7e3e 100644
--- a/string.c
+++ b/string.c
@@ -2186,7 +2186,7 @@ rb_str_length(VALUE str)
*
*/
-static VALUE
+VALUE
rb_str_bytesize(VALUE str)
{
return LONG2NUM(RSTRING_LEN(str));