diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/-test-/string/new.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/-test-/string/new.c b/ext/-test-/string/new.c index 8a3613e374..3b54eebefe 100644 --- a/ext/-test-/string/new.c +++ b/ext/-test-/string/new.c @@ -1,13 +1,13 @@ #include "ruby.h" #include "ruby/encoding.h" -VALUE +static VALUE bug_str_buf_new(VALUE self, VALUE len) { return rb_str_buf_new(NUM2LONG(len)); } -VALUE +static VALUE bug_external_str_new(VALUE self, VALUE len, VALUE enc) { return rb_external_str_new_with_enc(NULL, NUM2LONG(len), rb_to_encoding(enc)); |