From 90f008f569718c8cbb311a7e0f939b639cd9e48a Mon Sep 17 00:00:00 2001 From: S-H-GAMELINKS Date: Thu, 4 Feb 2021 13:06:20 +0900 Subject: [PATCH] Remove unsued str_new_shared function declaration --- string.c | 1 - 1 file changed, 1 deletion(-) 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);