summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/ia64/fpu/fraiseexcpt.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f619a5be9..70fe87d9a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
 
+	* sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
+	unused variable.
+
 	* sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
 	* sunrpc/xdr_sizeof.c (x_inline): Likewise.
 
diff --git a/sysdeps/ia64/fpu/fraiseexcpt.c b/sysdeps/ia64/fpu/fraiseexcpt.c
index 57111a94cf..b37e62437e 100644
--- a/sysdeps/ia64/fpu/fraiseexcpt.c
+++ b/sysdeps/ia64/fpu/fraiseexcpt.c
@@ -1,5 +1,5 @@
 /* Raise given exceptions.
-   Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jes Sorensen <Jes.Sorensen@cern.ch>, 2000.
 
@@ -19,6 +19,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <fenv.h>
+#include <float.h>
 #include <math.h>
 #include <signal.h>
 #include <unistd.h>
@@ -27,7 +28,6 @@
 int
 feraiseexcept (int excepts)
 {
-  fenv_t fpsr;
   double tmp;
   double dummy;