From d9bfc800ccc07e0c007f172de6bee53e19f78de8 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 15 Sep 2000 12:57:40 +0000 Subject: [PATCH] Use fenv_libc.h --- sysdeps/mips/fpu/fedisblxcpt.c | 4 +--- sysdeps/mips/fpu/feenablxcpt.c | 4 +--- sysdeps/mips/fpu/fegetexcept.c | 5 +---- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/sysdeps/mips/fpu/fedisblxcpt.c b/sysdeps/mips/fpu/fedisblxcpt.c index 1ca229f22d..2d2ec8c86c 100644 --- a/sysdeps/mips/fpu/fedisblxcpt.c +++ b/sysdeps/mips/fpu/fedisblxcpt.c @@ -19,11 +19,9 @@ Boston, MA 02111-1307, USA. */ #include +#include #include -#define ENABLE_MASK 0xF80U -#define ENABLE_SHIFT 5 - int fedisableexcept (int excepts) { diff --git a/sysdeps/mips/fpu/feenablxcpt.c b/sysdeps/mips/fpu/feenablxcpt.c index e6175ddfbe..4e63c6669c 100644 --- a/sysdeps/mips/fpu/feenablxcpt.c +++ b/sysdeps/mips/fpu/feenablxcpt.c @@ -19,11 +19,9 @@ Boston, MA 02111-1307, USA. */ #include +#include #include -#define ENABLE_MASK 0xF80U -#define ENABLE_SHIFT 5 - int feenableexcept (int excepts) { diff --git a/sysdeps/mips/fpu/fegetexcept.c b/sysdeps/mips/fpu/fegetexcept.c index 23da9f3729..c065398a64 100644 --- a/sysdeps/mips/fpu/fegetexcept.c +++ b/sysdeps/mips/fpu/fegetexcept.c @@ -19,12 +19,9 @@ Boston, MA 02111-1307, USA. */ #include +#include #include -#define ENABLE_MASK 0xF80U -#define ENABLE_SHIFT 5 - - int fegetexcept (void) {