From 7907db7627aafa35a45f7246e79f5369b6714828 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Tue, 5 Feb 2019 03:51:13 -0500 Subject: populate README, clean up comments, remove unused includes --- src/km-rand-erand48.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/km-rand-erand48.c') diff --git a/src/km-rand-erand48.c b/src/km-rand-erand48.c index de84b93..3d7b02d 100644 --- a/src/km-rand-erand48.c +++ b/src/km-rand-erand48.c @@ -1,7 +1,6 @@ #include // bool #define _DEFAULT_SOURCE -#include // drand48_r() -#include // fopen() +#include // erand48() #include "util.h" #include "km.h" @@ -62,7 +61,8 @@ ERAND48_RAND_CBS = { .fini = on_fini, }; -// init system random source (uses system rand()) +// init erand48 random source (uses erand48(), seeded with the lower +// 48-bits of the seed parameter) bool km_rand_init_erand48( km_rand_t * const rs, -- cgit v1.2.3