summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-26 01:14:13 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-26 01:14:13 +0000
commit83b2918ebe75fe7c3ee54c3a33bd8cc10234db8c (patch)
treeafd209037c1f52762f36684c5816251c280bcc3b /libc/stdlib
parent905b94adb175aacee1aaaed4ef48f99da7447d3e (diff)
Some more hidden internals
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/drand48-iter.c2
-rw-r--r--libc/stdlib/erand48_r.c2
-rw-r--r--libc/stdlib/jrand48_r.c2
-rw-r--r--libc/stdlib/nrand48_r.c2
-rw-r--r--libc/stdlib/setenv.c2
-rw-r--r--libc/stdlib/strtod.c4
6 files changed, 7 insertions, 7 deletions
diff --git a/libc/stdlib/drand48-iter.c b/libc/stdlib/drand48-iter.c
index 858253b5a..bc2c15cb6 100644
--- a/libc/stdlib/drand48-iter.c
+++ b/libc/stdlib/drand48-iter.c
@@ -27,7 +27,7 @@
struct drand48_data __libc_drand48_data;
-int
+int attribute_hidden
__drand48_iterate (unsigned short int xsubi[3], struct drand48_data *buffer)
{
uint64_t X;
diff --git a/libc/stdlib/erand48_r.c b/libc/stdlib/erand48_r.c
index 85971cc02..159eb83a6 100644
--- a/libc/stdlib/erand48_r.c
+++ b/libc/stdlib/erand48_r.c
@@ -22,7 +22,7 @@
#include <limits.h>
extern int __drand48_iterate(unsigned short xsubi[3],
- struct drand48_data *buffer);
+ struct drand48_data *buffer) attribute_hidden;
int erand48_r (xsubi, buffer, result)
diff --git a/libc/stdlib/jrand48_r.c b/libc/stdlib/jrand48_r.c
index 86d1ba363..d8c37cdbc 100644
--- a/libc/stdlib/jrand48_r.c
+++ b/libc/stdlib/jrand48_r.c
@@ -20,7 +20,7 @@
#include <stdlib.h>
extern int __drand48_iterate(unsigned short xsubi[3],
- struct drand48_data *buffer);
+ struct drand48_data *buffer) attribute_hidden;
int jrand48_r (xsubi, buffer, result)
unsigned short int xsubi[3];
diff --git a/libc/stdlib/nrand48_r.c b/libc/stdlib/nrand48_r.c
index f08ac9c36..89f098e75 100644
--- a/libc/stdlib/nrand48_r.c
+++ b/libc/stdlib/nrand48_r.c
@@ -20,7 +20,7 @@
#include <stdlib.h>
extern int __drand48_iterate(unsigned short xsubi[3],
- struct drand48_data *buffer);
+ struct drand48_data *buffer) attribute_hidden;
int nrand48_r (xsubi, buffer, result)
unsigned short int xsubi[3];
diff --git a/libc/stdlib/setenv.c b/libc/stdlib/setenv.c
index d0cfe526d..2428ed92d 100644
--- a/libc/stdlib/setenv.c
+++ b/libc/stdlib/setenv.c
@@ -48,7 +48,7 @@ static char **last_environ;
must be used directly. This is all complicated by the fact that we try
to reuse values once generated for a `setenv' call since we can never
free the strings. */
-int __add_to_environ (const char *name, const char *value,
+int attribute_hidden __add_to_environ (const char *name, const char *value,
const char *combined, int replace)
{
register char **ep;
diff --git a/libc/stdlib/strtod.c b/libc/stdlib/strtod.c
index 9c76a2347..10844414e 100644
--- a/libc/stdlib/strtod.c
+++ b/libc/stdlib/strtod.c
@@ -152,7 +152,7 @@
#endif
-extern void __fp_range_check(__fpmax_t y, __fpmax_t x);
+extern void __fp_range_check(__fpmax_t y, __fpmax_t x) attribute_hidden;
/**********************************************************************/
@@ -491,7 +491,7 @@ __fpmax_t __XL_NPP(__strtofpmax)(const Wchar *str, Wchar **endptr, int exponent_
#ifdef L___fp_range_check
#if defined(NEED_STRTOF_WRAPPER) || defined(NEED_STRTOD_WRAPPER)
-extern void __fp_range_check(__fpmax_t y, __fpmax_t x)
+void attribute_hidden __fp_range_check(__fpmax_t y, __fpmax_t x)
{
if (__FPMAX_ZERO_OR_INF_CHECK(y) /* y is 0 or +/- infinity */
&& (y != 0) /* y is not 0 (could have x>0, y==0 if underflow) */