summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string.c b/string.c
index 7111578256..9ed5dfa057 100644
--- a/string.c
+++ b/string.c
@@ -179,7 +179,7 @@ str_alloc(VALUE klass)
return (VALUE)str;
}
-static VALUE
+VALUE
str_new(VALUE klass, const char *ptr, long len)
{
VALUE str;
@@ -625,7 +625,7 @@ str_modifiable(VALUE str)
rb_raise(rb_eSecurityError, "Insecure: can't modify string");
}
-static int
+int
str_independent(VALUE str)
{
str_modifiable(str);