aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-14 17:55:43 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-14 17:55:43 +0000
commitf83af095b6fc49de3914f4426202171341783277 (patch)
treeac1a86e37bb3d15c0a830737c5112b8b90c4a286 /sysdeps/generic
parent29886719b5e20f210f9f0133ca381ca995dbc1e0 (diff)
downloadglibc-f83af095b6fc49de3914f4426202171341783277.tar
glibc-f83af095b6fc49de3914f4426202171341783277.tar.gz
glibc-f83af095b6fc49de3914f4426202171341783277.tar.bz2
glibc-f83af095b6fc49de3914f4426202171341783277.zip
Update.
* include/math.h: Declare __isinf_internal, __isinfl_internal, __isnan_internal, and __isnanl_internal. * stdio-common/printf_fp.c: Use INTUSE for calls to __isinf, __isinfl, __isnan, and __isnanl. * stdio-common/printf_size.c: Likewise. * sysdeps/generic/printf_fphex.c: Likewise. * sysdeps/i386/fpu/s_isinfl.c: Also define _internal alias. * sysdeps/i386/fpu/s_isnanl.c: Likewise. * sysdeps/ia64/fpu/s_isinf.S: Likewise. * sysdeps/ia64/fpu/s_isnan.S: Likewise. * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise. * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise. * sysdeps/ieee754/flt-32/s_isinff.c: Likewise. * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise. * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise. * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise. * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise. * sysdeps/m68k/s_isinfl.c: Likewise. * sysdeps/m68k/fpu/s_isinf.c: Likewise. * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/fxstat.c5
-rw-r--r--sysdeps/generic/printf_fphex.c8
2 files changed, 8 insertions, 5 deletions
diff --git a/sysdeps/generic/fxstat.c b/sysdeps/generic/fxstat.c
index 978b40a338..6bff431dee 100644
--- a/sysdeps/generic/fxstat.c
+++ b/sysdeps/generic/fxstat.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -20,6 +20,8 @@
#include <stddef.h>
#include <sys/stat.h>
+#undef __fxstat
+
/* Get information about the file descriptor FD in BUF. */
int
__fxstat (int vers, int fd, struct stat *buf)
@@ -46,5 +48,6 @@ __fxstat (int vers, int fd, struct stat *buf)
}
stub_warning (fstat)
+INTDEF(__fxstat)
weak_alias (__fxstat, _fxstat)
#include <stub-tag.h>
diff --git a/sysdeps/generic/printf_fphex.c b/sysdeps/generic/printf_fphex.c
index 7dfb116aee..794a1ab23c 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 (__isnanl (fpnum.ldbl.d))
+ if (INTUSE(__isnanl) (fpnum.ldbl.d))
{
if (isupper (info->spec))
{
@@ -186,7 +186,7 @@ __printf_fphex (FILE *fp,
}
else
{
- if (__isinfl (fpnum.ldbl.d))
+ if (INTUSE(__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 (__isnan (fpnum.dbl.d))
+ if (INTUSE(__isnan) (fpnum.dbl.d))
{
if (isupper (info->spec))
{
@@ -225,7 +225,7 @@ __printf_fphex (FILE *fp,
}
else
{
- if (__isinf (fpnum.dbl.d))
+ if (INTUSE(__isinf) (fpnum.dbl.d))
{
if (isupper (info->spec))
{