summaryrefslogtreecommitdiff
path: root/ext/-test-/string
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-02 15:41:08 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-02 15:41:08 +0000
commit499da5f2e7284b34e98456503ddf6dc2a0963feb (patch)
tree8f6de6848b053c377223b2b6e147487780d86848 /ext/-test-/string
parentd7b06e282ab6af1c06c49ae2be163ddf4a14b5a0 (diff)
static
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/string')
-rw-r--r--ext/-test-/string/new.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/-test-/string/new.c b/ext/-test-/string/new.c
index 8a3613e..3b54eeb 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));