diff options
| author | stderr64 <stderr64@null.net> | 2026-09-24 21:14:31 +0300 |
|---|---|---|
| committer | stderr64 <stderr64@null.net> | 2026-09-24 21:14:31 +0300 |
| commit | f9a30793a176523990415ef0be47dbd1296ab5cc (patch) | |
| tree | de0a9c7dca3de8f0259ce7b774c29bd8dd53c621 | |
| parent | f54963e1364568d8f4f6e1a5be1646d4c5e7a94e (diff) | |
| download | libxorshift-f9a30793a176523990415ef0be47dbd1296ab5cc.tar.gz libxorshift-f9a30793a176523990415ef0be47dbd1296ab5cc.tar.zst | |
Make the global RNG state struct static
| -rw-r--r-- | xorshift.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ #include <string.h> #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 ); |
