mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* process.c (rb_f_sleep): time() needs time_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
383b905f5e
commit
d7720b2fc0
2 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
Thu Mar 12 05:14:50 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Thu Mar 12 05:16:07 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* process.c (rb_f_sleep): time() needs time_t.
|
||||
|
||||
* random.c (fill_random_seed): enclosed conditionally used
|
||||
variables.
|
||||
|
|
|
@ -3220,7 +3220,7 @@ rb_f_spawn(int argc, VALUE *argv)
|
|||
static VALUE
|
||||
rb_f_sleep(int argc, VALUE *argv)
|
||||
{
|
||||
int beg, end;
|
||||
time_t beg, end;
|
||||
|
||||
beg = time(0);
|
||||
if (argc == 0) {
|
||||
|
|
Loading…
Reference in a new issue