diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-11-14 22:03:30 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-11-14 22:03:30 +0800 |
commit | de1deaf0bde9c0e67932420117caeb390f8ead98 (patch) | |
tree | ccf5802f9b75b67d28ce22a42cc947dd018b1dcf /random.c | |
parent | e00a97944a412213d5335c3664f45bab0fcdb546 (diff) |
use oldstyle comments
Diffstat (limited to 'random.c')
-rw-r--r-- | random.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -225,8 +225,8 @@ void seedrandom() { pid = getpid(); sha1_process(&hs, (void*)&pid, sizeof(pid)); - // gettimeofday() doesn't completely fill out struct timeval on - // OS X (10.8.3), avoid valgrind warnings by clearing it first + /* gettimeofday() doesn't completely fill out struct timeval on + OS X (10.8.3), avoid valgrind warnings by clearing it first */ memset(&tv, 0x0, sizeof(tv)); gettimeofday(&tv, NULL); sha1_process(&hs, (void*)&tv, sizeof(tv)); |