From e380f78851b27511f165bcd841626f2cb9fa87be Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Sat, 12 Sep 2020 08:55:14 +0900 Subject: Removed rb_find_file_ext_safe and rb_find_file_safe --- file.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'file.c') diff --git a/file.c b/file.c index d9b113ef89..0c599b0895 100644 --- a/file.c +++ b/file.c @@ -6301,13 +6301,6 @@ copy_path_class(VALUE path, VALUE orig) return path; } -int -rb_find_file_ext_safe(VALUE *filep, const char *const *ext, int _level) -{ - rb_warn("rb_find_file_ext_safe will be removed in Ruby 3.0"); - return rb_find_file_ext(filep, ext); -} - int rb_find_file_ext(VALUE *filep, const char *const *ext) { @@ -6367,13 +6360,6 @@ rb_find_file_ext(VALUE *filep, const char *const *ext) return 0; } -VALUE -rb_find_file_safe(VALUE path, int _level) -{ - rb_warn("rb_find_file_safe will be removed in Ruby 3.0"); - return rb_find_file(path); -} - VALUE rb_find_file(VALUE path) { -- cgit v1.2.3