From 12a55a6c7daf9e74f5e7f91be33384474b5722a9 Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 5 Sep 2008 11:08:10 +0000 Subject: [PATCH] * include/ruby/io.h (rb_io_mode_modenum): moved from include/ruby/intern.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ include/ruby/intern.h | 1 - include/ruby/io.h | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e4d087dd76..d16c96ccc5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Sep 5 20:07:37 2008 Tanaka Akira + + * include/ruby/io.h (rb_io_mode_modenum): moved from + include/ruby/intern.h. + Fri Sep 5 19:59:26 2008 Tanaka Akira * io.c (MODENUM_MAX): removed. diff --git a/include/ruby/intern.h b/include/ruby/intern.h index a2010bb327..105ca62bde 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -391,7 +391,6 @@ VALUE rb_file_open_str(VALUE, const char*); VALUE rb_gets(void); void rb_write_error(const char*); void rb_write_error2(const char*, long); -int rb_io_mode_modenum(const char *mode); void rb_close_before_exec(int lowfd, int maxhint, VALUE noclose_fds); int rb_pipe(int *pipes); /* marshal.c */ diff --git a/include/ruby/io.h b/include/ruby/io.h index 8d82338e0b..610d3657e1 100644 --- a/include/ruby/io.h +++ b/include/ruby/io.h @@ -140,6 +140,7 @@ FILE *rb_io_stdio_file(rb_io_t *fptr); FILE *rb_fdopen(int, const char*); int rb_io_mode_flags(const char*); int rb_io_modenum_flags(int); +int rb_io_mode_modenum(const char *mode); void rb_io_check_writable(rb_io_t*); void rb_io_check_readable(rb_io_t*); int rb_io_fptr_finalize(rb_io_t*);