summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS-H-GAMELINKS <gamelinks007@gmail.com>2021-02-04 13:06:20 +0900
committerKoichi Sasada <ko1@atdot.net>2021-02-04 16:25:55 +0900
commit90f008f569718c8cbb311a7e0f939b639cd9e48a (patch)
treeaba40fc71f3d99cb73c2118d6b28c480b9f75b47
parent46b5b51cc64559b0e6e7e0f0e7173e17cd4681df (diff)
Remove unsued str_new_shared function declaration
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4151
-rw-r--r--string.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/string.c b/string.c
index 33e14c1f24..84e12d410b 100644
--- a/string.c
+++ b/string.c
@@ -197,7 +197,6 @@ VALUE rb_cSymbol;
((len) <= RSTRING_EMBED_LEN_MAX + 1 - (termlen))
static VALUE str_replace_shared_without_enc(VALUE str2, VALUE str);
-static VALUE str_new_shared(VALUE klass, VALUE str);
static VALUE str_new_frozen(VALUE klass, VALUE orig);
static VALUE str_new_frozen_buffer(VALUE klass, VALUE orig, int copy_encoding);
static VALUE str_new_static(VALUE klass, const char *ptr, long len, int encindex);