From f9a30793a176523990415ef0be47dbd1296ab5cc Mon Sep 17 00:00:00 2001 From: stderr64 Date: Thu, 24 Sep 2026 21:14:31 +0300 Subject: Make the global RNG state struct static --- xorshift.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xorshift.c b/xorshift.c index 6fdd5fb..c11cc7a 100644 --- a/xorshift.c +++ b/xorshift.c @@ -10,7 +10,7 @@ #include #include "structs.h" -struct rng_state global_rng_state; +static struct rng_state global_rng_state; __attribute__((visibility("default"))) bool initialize_states(){ assert( (sizeof(uint32_t) * CHAR_BIT) == 32 ); -- cgit v1.3.1-10-gc9f91