diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-13 05:30:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-13 05:30:44 +0000 |
commit | ea7af54e73882c96b24407b350c65d33a74eae2f (patch) | |
tree | 0a8080e36c1fabf84e6a844d8a68fa35e8704983 | |
parent | 5b72a06cbeb236290568a5f1cc082e954107f0be (diff) | |
download | ruby-ea7af54e73882c96b24407b350c65d33a74eae2f.tar.gz |
thread.c: rb_thread_fd_close [ci skip]
* thread.c (rb_thread_fd_close): remove deprecated. a couple of
external libraries used it. [ruby-core:80078] [Bug #13304]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | include/ruby/intern.h | 2 | ||||
-rw-r--r-- | thread.c | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 5742251004..9b6a8d7dea 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -424,7 +424,7 @@ void rb_exec_end_proc(void); void rb_thread_schedule(void); void rb_thread_wait_fd(int); int rb_thread_fd_writable(int); -DEPRECATED(void rb_thread_fd_close(int)); +void rb_thread_fd_close(int); int rb_thread_alone(void); void rb_thread_sleep(int); void rb_thread_sleep_forever(void); @@ -2197,15 +2197,10 @@ rb_notify_fd_close(int fd) return busy; } -NORETURN(void rb_thread_fd_close(int fd)); void rb_thread_fd_close(int fd) { -#ifdef DONT_USE while (rb_notify_fd_close(fd)); -#else - DEPRECATED_INTERNAL_FEATURE("rb_thread_fd_close"); -#endif } /* |