From 86307f52ee1b3c5aa76e2fd6ee118e681dd76905 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 15 Jul 1999 07:59:59 +0000 Subject: 990715 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'io.c') diff --git a/io.c b/io.c index 7249a4bd63..1b1c21cc09 100644 --- a/io.c +++ b/io.c @@ -90,7 +90,7 @@ static ID id_write; extern char *ruby_inplace_mode; -struct timeval rb_time_timeval _((VALUE)); +struct timeval rb_time_interval _((VALUE)); static VALUE filename, file; static int gets_lineno; @@ -1296,10 +1296,10 @@ rb_file_sysopen_internal(klass, fname, flags, mode) VALUE rb_file_sysopen(fname, flags, mode) - char *fname; + const char *fname; int flags, mode; { - return rb_file_sysopen_internal(rb_cFile, flags, mode); + return rb_file_sysopen_internal(rb_cFile, fname, flags, mode); } #if defined (NT) || defined(DJGPP) || defined(__CYGWIN32__) || defined(__human68k__) @@ -2438,7 +2438,7 @@ rb_f_select(argc, argv, obj) tp = NULL; } else { - timerec = rb_time_timeval(timeout); + timerec = rb_time_interval(timeout); tp = &timerec; } -- cgit v1.2.3