diff options
author | dannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-08 10:40:33 +0000 |
---|---|---|
committer | dannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-08 10:40:33 +0000 |
commit | c48e08ab5ea626cd131e3238ff6562301732c014 (patch) | |
tree | 3e3a84626684e5290e51449663618c58f2e432b5 /gcc/toplev.c | |
parent | 03da418aa61d16ec8f9ac847640881826e9a9a73 (diff) | |
download | gcc-c48e08ab5ea626cd131e3238ff6562301732c014.tar.gz |
* toplev.c (randomize): Correct call to time().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69083 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 38374467181..b7bbe8aecbc 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -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; |