* toplev.c (randomize): Correct call to time().

From-SVN: r69083
This commit is contained in:
Danny Smith 2003-07-08 10:40:33 +00:00 committed by Danny Smith
parent 2cd5026f9d
commit c163ddca92
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
* toplev.c (randomize): Correct call to time().
2003-07-08 Jakub Jelinek <jakub@redhat.com>
* unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and

View File

@ -1589,7 +1589,7 @@ randomize (void)
}
#else
{
time_t now = time ();
time_t now = time (NULL);
if (now != (time_t)-1)
local_tick = (unsigned) now;