summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-05 11:08:10 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-05 11:08:10 +0000
commit12a55a6c7daf9e74f5e7f91be33384474b5722a9 (patch)
tree2d209a96289f06d9e8333d2e34613c96a70c5698
parent0153a4ea07401895ea508c39a0b0cd7403ab8d41 (diff)
* 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
-rw-r--r--ChangeLog5
-rw-r--r--include/ruby/intern.h1
-rw-r--r--include/ruby/io.h1
3 files changed, 6 insertions, 1 deletions
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 <akr@fsij.org>
+
+ * include/ruby/io.h (rb_io_mode_modenum): moved from
+ include/ruby/intern.h.
+
Fri Sep 5 19:59:26 2008 Tanaka Akira <akr@fsij.org>
* 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*);