summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-07-28 19:37:18 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-24 10:37:41 +0900
commitd9f084ed142f8f3f76041237f3a507171b4d8c3c (patch)
tree511b3f6e4a66bd871a462ffed8e9e84872f1c0fb
parent5d99800d01936a521f129b4aafc533468675df48 (diff)
downloadruby-d9f084ed142f8f3f76041237f3a507171b4d8c3c.tar.gz
Moved rb_deprecate_constant declaration [Feature #18051]
-rw-r--r--include/ruby/internal/variable.h1
-rw-r--r--internal/variable.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/internal/variable.h b/include/ruby/internal/variable.h
index b0cfa61a62..1b6e69b19e 100644
--- a/include/ruby/internal/variable.h
+++ b/include/ruby/internal/variable.h
@@ -51,6 +51,7 @@ void rb_define_hooked_variable(const char*,VALUE*,rb_gvar_getter_t*,rb_gvar_sett
void rb_define_readonly_variable(const char*,const VALUE*);
void rb_define_const(VALUE,const char*,VALUE);
void rb_define_global_const(const char*,VALUE);
+void rb_deprecate_constant(VALUE mod, const char *name);
VALUE rb_gv_set(const char*, VALUE);
VALUE rb_gv_get(const char*);
diff --git a/internal/variable.h b/internal/variable.h
index 057beccfcc..299c4b6825 100644
--- a/internal/variable.h
+++ b/internal/variable.h
@@ -44,7 +44,6 @@ void rb_mv_generic_ivar(VALUE src, VALUE dst);
VALUE rb_const_missing(VALUE klass, VALUE name);
int rb_class_ivar_set(VALUE klass, ID vid, VALUE value);
void rb_iv_tbl_copy(VALUE dst, VALUE src);
-void rb_deprecate_constant(VALUE mod, const char *name);
RUBY_SYMBOL_EXPORT_END
MJIT_SYMBOL_EXPORT_BEGIN