about summary refs log tree commit diff
path: root/sysdeps/sh/sh4/fpu/feholdexcpt.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/feholdexcpt.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/feholdexcpt.c')
-rw-r--r--sysdeps/sh/sh4/fpu/feholdexcpt.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/sh/sh4/fpu/feholdexcpt.c b/sysdeps/sh/sh4/fpu/feholdexcpt.c
index 2b6b9bdc83..40a58e1288 100644
--- a/sysdeps/sh/sh4/fpu/feholdexcpt.c
+++ b/sysdeps/sh/sh4/fpu/feholdexcpt.c
@@ -1,6 +1,5 @@
 /* Store current floating-point environment and clear exceptions.
-   Copyright (C) 1997, 1998, 1999, 2000, 2005, 2010
-   Free Software Foundation, Inc.
+   Copyright (C) 1997-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -23,7 +22,7 @@
 int
 feholdexcept (fenv_t *envp)
 {
-  unsigned long int temp;
+  fpu_control_t temp;
 
   /* Store the environment.  */
   _FPU_GETCW (temp);