From 83b2918ebe75fe7c3ee54c3a33bd8cc10234db8c Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 26 Nov 2005 01:14:13 +0000 Subject: Some more hidden internals --- libc/stdlib/drand48-iter.c | 2 +- libc/stdlib/erand48_r.c | 2 +- libc/stdlib/jrand48_r.c | 2 +- libc/stdlib/nrand48_r.c | 2 +- libc/stdlib/setenv.c | 2 +- libc/stdlib/strtod.c | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'libc/stdlib') 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 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 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 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) */ -- cgit v1.2.3