aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/fesetenv.c3
-rw-r--r--sysdeps/generic/fraiseexcpt.c3
-rw-r--r--sysdeps/generic/printf_fphex.c8
-rw-r--r--sysdeps/generic/s_expm1l.c1
-rw-r--r--sysdeps/generic/s_ldexp.c4
-rw-r--r--sysdeps/generic/s_ldexpf.c4
-rw-r--r--sysdeps/generic/s_ldexpl.c4
7 files changed, 15 insertions, 12 deletions
diff --git a/sysdeps/generic/fesetenv.c b/sysdeps/generic/fesetenv.c
index 8727b40..936d6c1 100644
--- a/sysdeps/generic/fesetenv.c
+++ b/sysdeps/generic/fesetenv.c
@@ -1,5 +1,5 @@
/* Install given floating-point environment.
- Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -31,6 +31,7 @@ __fesetenv (const fenv_t *envp)
strong_alias (__fesetenv, __old_fesetenv)
compat_symbol (libm, __old_fesetenv, fesetenv, GLIBC_2_1);
#endif
+libm_hidden_ver (__fesetenv, fesetenv)
versioned_symbol (libm, __fesetenv, fesetenv, GLIBC_2_2);
stub_warning (fesetenv)
diff --git a/sysdeps/generic/fraiseexcpt.c b/sysdeps/generic/fraiseexcpt.c
index ca3aa7b..764634a 100644
--- a/sysdeps/generic/fraiseexcpt.c
+++ b/sysdeps/generic/fraiseexcpt.c
@@ -1,5 +1,5 @@
/* Raise given exceptions.
- Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -31,6 +31,7 @@ __feraiseexcept (int excepts)
strong_alias (__feraiseexcept, __old_feraiseexcept)
compat_symbol (libm, __old_feraiseexcept, feraiseexcept, GLIBC_2_1);
#endif
+libm_hidden_ver (__feraiseexcept, feraiseexcept)
versioned_symbol (libm, __feraiseexcept, feraiseexcept, GLIBC_2_2);
stub_warning (feraiseexcept)
diff --git a/sysdeps/generic/printf_fphex.c b/sysdeps/generic/printf_fphex.c
index 794a1ab..7dfb116 100644
--- a/sysdeps/generic/printf_fphex.c
+++ b/sysdeps/generic/printf_fphex.c
@@ -170,7 +170,7 @@ __printf_fphex (FILE *fp,
fpnum.ldbl.d = *(const long double *) args[0];
/* Check for special values: not a number or infinity. */
- if (INTUSE(__isnanl) (fpnum.ldbl.d))
+ if (__isnanl (fpnum.ldbl.d))
{
if (isupper (info->spec))
{
@@ -186,7 +186,7 @@ __printf_fphex (FILE *fp,
}
else
{
- if (INTUSE(__isinfl) (fpnum.ldbl.d))
+ if (__isinfl (fpnum.ldbl.d))
{
if (isupper (info->spec))
{
@@ -209,7 +209,7 @@ __printf_fphex (FILE *fp,
fpnum.dbl.d = *(const double *) args[0];
/* Check for special values: not a number or infinity. */
- if (INTUSE(__isnan) (fpnum.dbl.d))
+ if (__isnan (fpnum.dbl.d))
{
if (isupper (info->spec))
{
@@ -225,7 +225,7 @@ __printf_fphex (FILE *fp,
}
else
{
- if (INTUSE(__isinf) (fpnum.dbl.d))
+ if (__isinf (fpnum.dbl.d))
{
if (isupper (info->spec))
{
diff --git a/sysdeps/generic/s_expm1l.c b/sysdeps/generic/s_expm1l.c
index d49c68a..b69d6ae 100644
--- a/sysdeps/generic/s_expm1l.c
+++ b/sysdeps/generic/s_expm1l.c
@@ -9,6 +9,7 @@ __expm1l (long double x)
__set_errno (ENOSYS);
return 0.0;
}
+libm_hidden_def (__expm1l)
weak_alias (__expm1l, expm1l)
stub_warning (expm1l)
diff --git a/sysdeps/generic/s_ldexp.c b/sysdeps/generic/s_ldexp.c
index 20c444f..12c336f 100644
--- a/sysdeps/generic/s_ldexp.c
+++ b/sysdeps/generic/s_ldexp.c
@@ -25,9 +25,9 @@ static char rcsid[] = "$NetBSD: s_ldexp.c,v 1.6 1995/05/10 20:47:40 jtc Exp $";
double value; int exp;
#endif
{
- if(!INTUSE(__finite)(value)||value==0.0) return value;
+ if(!__finite(value)||value==0.0) return value;
value = __scalbn(value,exp);
- if(!INTUSE(__finite)(value)||value==0.0) __set_errno (ERANGE);
+ if(!__finite(value)||value==0.0) __set_errno (ERANGE);
return value;
}
weak_alias (__ldexp, ldexp)
diff --git a/sysdeps/generic/s_ldexpf.c b/sysdeps/generic/s_ldexpf.c
index 07f0c9e..631db42 100644
--- a/sysdeps/generic/s_ldexpf.c
+++ b/sysdeps/generic/s_ldexpf.c
@@ -28,9 +28,9 @@ static char rcsid[] = "$NetBSD: s_ldexpf.c,v 1.3 1995/05/10 20:47:42 jtc Exp $";
float value; int exp;
#endif
{
- if(!INTUSE(__finitef)(value)||value==(float)0.0) return value;
+ if(!__finitef(value)||value==(float)0.0) return value;
value = __scalbnf(value,exp);
- if(!INTUSE(__finitef)(value)||value==(float)0.0) __set_errno (ERANGE);
+ if(!__finitef(value)||value==(float)0.0) __set_errno (ERANGE);
return value;
}
INTDEF(__ldexpf)
diff --git a/sysdeps/generic/s_ldexpl.c b/sysdeps/generic/s_ldexpl.c
index a560398..123a6b3 100644
--- a/sysdeps/generic/s_ldexpl.c
+++ b/sysdeps/generic/s_ldexpl.c
@@ -29,9 +29,9 @@ static char rcsid[] = "$NetBSD: $";
long double value; int exp;
#endif
{
- if(!INTUSE(__finitel)(value)||value==0.0) return value;
+ if(!__finitel(value)||value==0.0) return value;
value = __scalbnl(value,exp);
- if(!INTUSE(__finitel)(value)||value==0.0) __set_errno (ERANGE);
+ if(!__finitel(value)||value==0.0) __set_errno (ERANGE);
return value;
}
weak_alias (__ldexpl, ldexpl)