summaryrefslogtreecommitdiffhomepage
path: root/random.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-11-14 22:03:30 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-11-14 22:03:30 +0800
commitde1deaf0bde9c0e67932420117caeb390f8ead98 (patch)
treeccf5802f9b75b67d28ce22a42cc947dd018b1dcf /random.c
parente00a97944a412213d5335c3664f45bab0fcdb546 (diff)
use oldstyle comments
Diffstat (limited to 'random.c')
-rw-r--r--random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/random.c b/random.c
index 6743654..cc448ec 100644
--- a/random.c
+++ b/random.c
@@ -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));