projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow user to provide random seed to random_init().
[pintos-anon]
/
src
/
lib
/
random.h
diff --git
a/src/lib/random.h
b/src/lib/random.h
index d2f3706dd07a7c8ccc1e7561b161bf5e13e7c9d1..cc6eed41bf28f0788c0be709bae1d21754c59130 100644
(file)
--- a/
src/lib/random.h
+++ b/
src/lib/random.h
@@
-3,7
+3,7
@@
#include <stddef.h>
-void random_init (
voi
d);
+void random_init (
unsigned see
d);
void random_bytes (void *, size_t);
unsigned long random_ulong (void);