* sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
authorDaniel Jacobowitz <dan@codesourcery.com>
Wed, 26 Mar 2008 13:21:26 +0000 (13:21 +0000)
committerDaniel Jacobowitz <dan@codesourcery.com>
Wed, 26 Mar 2008 13:21:26 +0000 (13:21 +0000)
* sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
* sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.

ChangeLog.mips
sysdeps/mips/fpu/fesetround.c
sysdeps/mips/fpu/fgetexcptflg.c
sysdeps/mips/fpu/fsetexcptflg.c

index 16cdc48..711f23b 100644 (file)
@@ -1,3 +1,10 @@
+2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
+       * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
+       * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
+
 2008-03-09  Andreas Jaeger  <aj@suse.de>
 
        [BZ #5753]
index 9477109..c28bd60 100644 (file)
@@ -24,7 +24,7 @@
 int
 fesetround (int round)
 {
-  unsigned short int cw;
+  fpu_control_t cw;
 
   if ((round & ~0x3) != 0)
     /* ROUND is no valid rounding mode.  */
index 3412159..27875b3 100644 (file)
@@ -24,7 +24,7 @@
 int
 fegetexceptflag (fexcept_t *flagp, int excepts)
 {
-  fexcept_t temp;
+  fpu_control_t temp;
 
   /* Get the current exceptions.  */
   _FPU_GETCW (temp);
index c65d793..b129375 100644 (file)
@@ -24,7 +24,7 @@
 int
 fesetexceptflag (const fexcept_t *flagp, int excepts)
 {
-  fexcept_t temp;
+  fpu_control_t temp;
 
   /* Get the current exceptions.  */
   _FPU_GETCW (temp);