aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/rng.c2
-rw-r--r--stdlib/rng.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/rng.c b/stdlib/rng.c
index 9558f96b..c6bcfa5d 100644
--- a/stdlib/rng.c
+++ b/stdlib/rng.c
@@ -18,7 +18,7 @@
#include "chacha.h"
-public _Thread_local RNG_t default_rng = NULL;
+public RNG_t default_rng = NULL;
struct RNGState_t {
chacha_ctx chacha;
diff --git a/stdlib/rng.h b/stdlib/rng.h
index 5bc4794f..89b53505 100644
--- a/stdlib/rng.h
+++ b/stdlib/rng.h
@@ -26,6 +26,6 @@ Num_t RNG$num(RNG_t rng, Num_t min, Num_t max);
Num32_t RNG$num32(RNG_t rng, Num32_t min, Num32_t max);
extern const TypeInfo_t RNG$info;
-extern _Thread_local RNG_t default_rng;
+extern RNG_t default_rng;
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0