summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2021-12-17 14:33:26 +0900
committerKoichi Sasada <ko1@atdot.net>2021-12-17 15:46:50 +0900
commitce6fc20f973e307071533bfd9699da88986c67a3 (patch)
treefee23190115cdaebb2042ea896686356017a3845 /hash.c
parentc8f2766ae2312eedbcf947b189a8629696bb8bb3 (diff)
data type should be `static`
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5288
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
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,