summaryrefslogtreecommitdiffstats
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 fbe6ea88b..6742e04a1 100644
--- a/string.c
+++ b/string.c
@@ -2830,7 +2830,7 @@ rb_str_aref_m(int argc, VALUE *argv, VALUE str)
}
VALUE
-rb_str_drop(VALUE str, long len)
+rb_str_drop_bytes(VALUE str, long len)
{
char *ptr = RSTRING_PTR(str);
long olen = RSTRING_LEN(str), nlen;