diff --git a/ChangeLog b/ChangeLog index f1a7c28d95..f49fb60261 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Nov 1 12:36:16 2011 Tanaka Akira + + * internal.h (rb_maygvl_fd_fix_cloexec): change the visibility for + ext/socket. + Tue Nov 1 12:00:53 2011 Tanaka Akira * io.c (rb_maygvl_fd_fix_cloexec): renamed from fd_set_cloexec. diff --git a/internal.h b/internal.h index 16eca49d03..cf3fec20b5 100644 --- a/internal.h +++ b/internal.h @@ -102,7 +102,6 @@ const char *ruby_get_inplace_mode(void); void ruby_set_inplace_mode(const char *); ssize_t rb_io_bufread(VALUE io, void *buf, size_t size); void rb_stdio_set_default_encoding(void); -void rb_maygvl_fd_fix_cloexec(int fd); /* iseq.c */ VALUE rb_iseq_compile_with_option(VALUE src, VALUE file, VALUE filepath, VALUE line, VALUE opt); @@ -229,6 +228,9 @@ VALUE rb_thread_call_without_gvl( rb_blocking_function_t *func, void *data1, rb_unblock_function_t *ubf, void *data2); +/* io.c */ +void rb_maygvl_fd_fix_cloexec(int fd); + #if defined __GNUC__ && __GNUC__ >= 4 #pragma GCC visibility pop #endif