summaryrefslogtreecommitdiff
path: root/libm/nan.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-26 14:50:16 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-26 14:50:16 +0000
commit40b8158b60e8b19dd5e2ed6bb796421ce49ff53a (patch)
treeaff161e3cb411ac781f7d11eb9fcbb553cd7ce57 /libm/nan.c
parentfc3607dc320fc6c6881ccfa7b68f3630e41c3c47 (diff)
- move libm_hidden_proto to the corresponding headers. Remove from callsites.
Note that gamma_r is not provided by glibc, perhaps add a SUN specific knob later
Diffstat (limited to 'libm/nan.c')
-rw-r--r--libm/nan.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libm/nan.c b/libm/nan.c
index 16e5c1772..662a25d33 100644
--- a/libm/nan.c
+++ b/libm/nan.c
@@ -31,7 +31,9 @@ double nan (const char *tagp)
}
return NAN;
}
+libm_hidden_def(nan)
+libm_hidden_proto(nanf)
float nanf (const char *tagp)
{
if (tagp[0] != '\0') {
@@ -41,8 +43,9 @@ float nanf (const char *tagp)
}
return NAN;
}
+libm_hidden_def(nanf)
-#if 0
+#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
long double nanl (const char *tagp)
{
if (tagp[0] != '\0') {
@@ -52,4 +55,5 @@ long double nanl (const char *tagp)
}
return NAN;
}
+libm_hidden_def(nanl)
#endif