summaryrefslogtreecommitdiff
path: root/sysdeps/sh/sh4/fpu/fclrexcpt.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2012-05-28 01:03:18 +0200
committerThomas Schwinge <thomas@codesourcery.com>2012-05-28 01:03:18 +0200
commit04fb54b50745587b5bfb7baff66ac9f69ac92db9 (patch)
tree60c88a65118d7f9ee50a06d6be54b23cdedca775 /sysdeps/sh/sh4/fpu/fclrexcpt.c
parent3f99608f823af08c833c85e84740bc182acafd71 (diff)
SH: Use fpu_control_t for the temporary FPU control word.
Diffstat (limited to 'sysdeps/sh/sh4/fpu/fclrexcpt.c')
-rw-r--r--sysdeps/sh/sh4/fpu/fclrexcpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/sh/sh4/fpu/fclrexcpt.c b/sysdeps/sh/sh4/fpu/fclrexcpt.c
index c2df162fe2..b4b2ead02c 100644
--- a/sysdeps/sh/sh4/fpu/fclrexcpt.c
+++ b/sysdeps/sh/sh4/fpu/fclrexcpt.c
@@ -1,5 +1,5 @@
/* Clear given exceptions in current floating-point environment.
- Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1998-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1998.
@@ -23,7 +23,7 @@
int
feclearexcept (int excepts)
{
- int cw;
+ fpu_control_t cw;
/* Mask out unsupported bits/exceptions. */
excepts &= FE_ALL_EXCEPT;