aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/seed48.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/seed48.c')
-rw-r--r--newlib/libc/stdlib/seed48.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/stdlib/seed48.c b/newlib/libc/stdlib/seed48.c
index 3f2cb50..43629cc 100644
--- a/newlib/libc/stdlib/seed48.c
+++ b/newlib/libc/stdlib/seed48.c
@@ -20,6 +20,7 @@ _DEFUN (_seed48_r, (r, xseed),
{
static unsigned short sseed[3];
+ _REENT_CHECK_RAND48(r);
sseed[0] = __rand48_seed[0];
sseed[1] = __rand48_seed[1];
sseed[2] = __rand48_seed[2];