From 714a4942fdb1e71ce38032a9f4bab10855a4bea8 Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Thu, 16 Jun 2022 07:20:20 -0400 Subject: Remove unused and accidentally public rb_str_shared_root_p() This function was added to a public header in [1] probably unintentionally since it's not used anywhere, exposes implementation details, and isn't related to the goals of that pull request. [1]: 56cc3e99b6b9ec004255280337f6b8353f5e5b06 --- include/ruby/internal/core/rstring.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/ruby/internal/core/rstring.h b/include/ruby/internal/core/rstring.h index 7b4953ab8c..e394ab7dca 100644 --- a/include/ruby/internal/core/rstring.h +++ b/include/ruby/internal/core/rstring.h @@ -556,9 +556,6 @@ RSTRING_LENINT(VALUE str) return rb_long2int(RSTRING_LEN(str)); } -bool -rb_str_shared_root_p(VALUE str); - /** * Convenient macro to obtain the contents and length at once. * -- cgit v1.2.1