X-Git-Url: https://pd.if.org/git/?p=nbds;a=blobdiff_plain;f=include%2Fruntime.h;h=e453fecac9b9425123b05170c7e0c10f5b22df29;hp=ff1d245f3f526663351e72c3804c752e20187a54;hb=86fd9c8abfbacea2902b4fe42a8a4664b2a531cf;hpb=778b8c8ca708b082a1192acfb114a6751b2ad7c9 diff --git a/include/runtime.h b/include/runtime.h index ff1d245..e453fec 100644 --- a/include/runtime.h +++ b/include/runtime.h @@ -1,4 +1,4 @@ -/* +/* * Written by Josh Dybnis and released to the public domain, as explained at * http://creativecommons.org/licenses/publicdomain */ @@ -11,7 +11,7 @@ extern DECLARE_THREAD_LOCAL(tid_, int); int nbd_thread_create (pthread_t *restrict thread, int thread_id, void *(*start_routine)(void *), void *restrict arg); -int nbd_rand (void); +uint64_t nbd_rand (void); uint64_t nbd_rand_seed (int i); int nbd_next_rand (uint64_t *r);