diff --git a/include/ruby/backward.h b/include/ruby/backward.h index 8e7716bd12..087a6f648b 100644 --- a/include/ruby/backward.h +++ b/include/ruby/backward.h @@ -20,6 +20,9 @@ DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); +/* variable.c */ +DEPRECATED(void rb_autoload(VALUE, ID, const char*)); + /* vm.c */ DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 22e76b6474..9b6a8d7dea 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -902,7 +902,6 @@ VALUE rb_path_to_class(VALUE); VALUE rb_path2class(const char*); void rb_name_class(VALUE, ID); VALUE rb_class_name(VALUE); -DEPRECATED(void rb_autoload(VALUE, ID, const char*)); VALUE rb_autoload_load(VALUE, ID); VALUE rb_autoload_p(VALUE, ID); VALUE rb_f_trace_var(int, const VALUE*);