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 f556cdf180..3c653e44c5 100644
--- a/string.c
+++ b/string.c
@@ -6072,7 +6072,7 @@ rb_str_chr(VALUE str)
*
* Related: String#setbyte.
*/
-static VALUE
+VALUE
rb_str_getbyte(VALUE str, VALUE index)
{
long pos = NUM2LONG(index);