diff --git a/pcg_basic.c b/pcg_basic.c index 8c2fd0d..83402c9 100644 --- a/pcg_basic.c +++ b/pcg_basic.c @@ -66,7 +66,7 @@ uint32_t pcg32_random_r(pcg32_random_t* rng) return (xorshifted >> rot) | (xorshifted << ((-rot) & 31)); } -uint32_t pcg32_random() +uint32_t pcg32_random(void) { return pcg32_random_r(&pcg32_global); }