summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/stdlib/drand48-iter.c2
-rw-r--r--libc/stdlib/drand48.c2
-rw-r--r--libc/stdlib/erand48.c2
-rw-r--r--libc/stdlib/jrand48.c2
-rw-r--r--libc/stdlib/lrand48.c2
-rw-r--r--libc/stdlib/mrand48.c2
-rw-r--r--libc/stdlib/nrand48.c2
-rw-r--r--libc/stdlib/seed48.c2
-rw-r--r--libc/stdlib/srand48.c2
9 files changed, 9 insertions, 9 deletions
diff --git a/libc/stdlib/drand48-iter.c b/libc/stdlib/drand48-iter.c
index bc2c15cb6..fc2a4ae9e 100644
--- a/libc/stdlib/drand48-iter.c
+++ b/libc/stdlib/drand48-iter.c
@@ -24,7 +24,7 @@
#include <sys/types.h>
/* Global state for non-reentrant functions. */
-struct drand48_data __libc_drand48_data;
+struct drand48_data __libc_drand48_data attribute_hidden;
int attribute_hidden
diff --git a/libc/stdlib/drand48.c b/libc/stdlib/drand48.c
index fc66816c1..0d82c3543 100644
--- a/libc/stdlib/drand48.c
+++ b/libc/stdlib/drand48.c
@@ -22,7 +22,7 @@
#include <stdlib.h>
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
-extern struct drand48_data __libc_drand48_data;
+extern struct drand48_data __libc_drand48_data attribute_hidden;
double drand48 (void)
{
diff --git a/libc/stdlib/erand48.c b/libc/stdlib/erand48.c
index 96a8ad115..f5c1a50d4 100644
--- a/libc/stdlib/erand48.c
+++ b/libc/stdlib/erand48.c
@@ -21,7 +21,7 @@
#include <stdlib.h>
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
-extern struct drand48_data __libc_drand48_data;
+extern struct drand48_data __libc_drand48_data attribute_hidden;
double erand48 (unsigned short int xsubi[3])
{
diff --git a/libc/stdlib/jrand48.c b/libc/stdlib/jrand48.c
index 44b32487f..819e0d986 100644
--- a/libc/stdlib/jrand48.c
+++ b/libc/stdlib/jrand48.c
@@ -22,7 +22,7 @@
#include <stdlib.h>
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
-extern struct drand48_data __libc_drand48_data;
+extern struct drand48_data __libc_drand48_data attribute_hidden;
long int jrand48 (unsigned short int xsubi[3])
{
diff --git a/libc/stdlib/lrand48.c b/libc/stdlib/lrand48.c
index 88301d70f..bdde5f099 100644
--- a/libc/stdlib/lrand48.c
+++ b/libc/stdlib/lrand48.c
@@ -22,7 +22,7 @@
#include <stdlib.h>
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
-extern struct drand48_data __libc_drand48_data;
+extern struct drand48_data __libc_drand48_data attribute_hidden;
long int lrand48 (void)
{
diff --git a/libc/stdlib/mrand48.c b/libc/stdlib/mrand48.c
index e9d5353ad..a4667e346 100644
--- a/libc/stdlib/mrand48.c
+++ b/libc/stdlib/mrand48.c
@@ -22,7 +22,7 @@
#include <stdlib.h>
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
-extern struct drand48_data __libc_drand48_data;
+extern struct drand48_data __libc_drand48_data attribute_hidden;
long int mrand48 (void)
{
diff --git a/libc/stdlib/nrand48.c b/libc/stdlib/nrand48.c
index 6cdf4ebad..6e161bcec 100644
--- a/libc/stdlib/nrand48.c
+++ b/libc/stdlib/nrand48.c
@@ -22,7 +22,7 @@
#include <stdlib.h>
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
-extern struct drand48_data __libc_drand48_data;
+extern struct drand48_data __libc_drand48_data attribute_hidden;
long int nrand48 (unsigned short int xsubi[3])
{
diff --git a/libc/stdlib/seed48.c b/libc/stdlib/seed48.c
index 3de07aa31..eec56cd21 100644
--- a/libc/stdlib/seed48.c
+++ b/libc/stdlib/seed48.c
@@ -22,7 +22,7 @@
#include <stdlib.h>
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
-extern struct drand48_data __libc_drand48_data;
+extern struct drand48_data __libc_drand48_data attribute_hidden;
unsigned short int *
seed48 (unsigned short int seed16v[3])
diff --git a/libc/stdlib/srand48.c b/libc/stdlib/srand48.c
index 1dcdc14a7..26def8e49 100644
--- a/libc/stdlib/srand48.c
+++ b/libc/stdlib/srand48.c
@@ -22,7 +22,7 @@
#include <stdlib.h>
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
-extern struct drand48_data __libc_drand48_data;
+extern struct drand48_data __libc_drand48_data attribute_hidden;
void srand48 (long seedval)
{