diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2014-08-04 14:04:08 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2014-08-04 14:04:08 -0400 |
commit | 25d1e5341b34db0855c2dd2823a2f2af94093803 (patch) | |
tree | 487a4e288212e577c9ad8f2214fd0185d11ba6f5 /util.h | |
parent | a04e2f811d094f6641db4197388c267dff889b5c (diff) | |
download | kd-forest-25d1e5341b34db0855c2dd2823a2f2af94093803.tar.xz |
Use a repeatable cross-platform PRNG.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -17,4 +17,7 @@ void *xmalloc(size_t size); void *xrealloc(void *ptr, size_t size); +unsigned int xrand(unsigned int range); +void xsrand(unsigned int seed); + #endif // UTIL_H |