From ce6fc20f973e307071533bfd9699da88986c67a3 Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Fri, 17 Dec 2021 14:33:26 +0900 Subject: [PATCH] data type should be `static` --- hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hash.c b/hash.c index 9cb9a635e0..3e59458dab 100644 --- a/hash.c +++ b/hash.c @@ -6653,7 +6653,7 @@ env_dup(VALUE obj) rb_raise(rb_eTypeError, "Cannot dup ENV, use ENV.to_h to get a copy of ENV as a hash"); } -const rb_data_type_t env_data_type = { +static const rb_data_type_t env_data_type = { "ENV", { NULL,