1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* thread.c (rb_time_timeval): made a real prototype. a patch from

Marcus Rueckert <darix AT opensu.se> at [ruby-core:21492].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-01-22 02:31:54 +00:00
parent 92ad9fb2d7
commit 3899c1bed7
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Jan 22 11:33:08 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* thread.c (rb_time_timeval): made a real prototype. a patch from
Marcus Rueckert <darix AT opensu.se> at [ruby-core:21492].
Wed Jan 21 21:43:50 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> Wed Jan 21 21:43:50 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (rb_io_ungetbyte, rb_io_ungetc): allows nil to reset EOF * io.c (rb_io_ungetbyte, rb_io_ungetc): allows nil to reset EOF

View file

@ -917,7 +917,7 @@ rb_thread_interrupted(VALUE thval)
return RUBY_VM_INTERRUPTED(th); return RUBY_VM_INTERRUPTED(th);
} }
struct timeval rb_time_timeval(); struct timeval rb_time_timeval(VALUE);
void void
rb_thread_sleep(int sec) rb_thread_sleep(int sec)