about summary refs log tree commit diff
path: root/sysdeps/sh/sh4/fpu/fegetround.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/fegetround.c
parent3f99608f823af08c833c85e84740bc182acafd71 (diff)
downloadglibc-04fb54b50745587b5bfb7baff66ac9f69ac92db9.tar.gz
glibc-04fb54b50745587b5bfb7baff66ac9f69ac92db9.tar.xz
glibc-04fb54b50745587b5bfb7baff66ac9f69ac92db9.zip
SH: Use fpu_control_t for the temporary FPU control word.
Diffstat (limited to 'sysdeps/sh/sh4/fpu/fegetround.c')
-rw-r--r--sysdeps/sh/sh4/fpu/fegetround.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/sh/sh4/fpu/fegetround.c b/sysdeps/sh/sh4/fpu/fegetround.c
index 9108e97445..7368383114 100644
--- a/sysdeps/sh/sh4/fpu/fegetround.c
+++ b/sysdeps/sh/sh4/fpu/fegetround.c
@@ -1,5 +1,5 @@
 /* Return current rounding direction.
-   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
 fegetround (void)
 {
-  int cw;
+  fpu_control_t cw;
 
   /* Get control word.  */
   _FPU_GETCW (cw);