summary refs log tree commit diff
path: root/sysdeps/s390/fpu/fesetenv.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-05 13:16:07 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-05 13:16:07 +0000
commit99252c8c6256d1afe91651d334cbef402d529fa5 (patch)
tree88ba72e782dc1c8888b3a0ed3858f6b3efe6b5a5 /sysdeps/s390/fpu/fesetenv.c
parentd6d98dea2d97e1dee5ab727982dd7430873c836f (diff)
downloadglibc-99252c8c6256d1afe91651d334cbef402d529fa5.tar.gz
glibc-99252c8c6256d1afe91651d334cbef402d529fa5.tar.xz
glibc-99252c8c6256d1afe91651d334cbef402d529fa5.zip
Fix S/390 bits/fenv.h namespace use (bug 14801).
Diffstat (limited to 'sysdeps/s390/fpu/fesetenv.c')
-rw-r--r--sysdeps/s390/fpu/fesetenv.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/s390/fpu/fesetenv.c b/sysdeps/s390/fpu/fesetenv.c
index 4fe82999d1..b5342051fa 100644
--- a/sysdeps/s390/fpu/fesetenv.c
+++ b/sysdeps/s390/fpu/fesetenv.c
@@ -1,5 +1,5 @@
 /* Install given floating-point environment.
-   Copyright (C) 2000, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2000-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Denis Joseph Barrow (djbarrow@de.ibm.com).
 
@@ -31,18 +31,18 @@ fesetenv (const fenv_t *envp)
 
   if (envp == FE_DFL_ENV)
     {
-      env.fpc = _FPU_DEFAULT;
-      env.ieee_instruction_pointer = 0;
+      env.__fpc = _FPU_DEFAULT;
+      env.__ieee_instruction_pointer = 0;
     }
   else if (envp == FE_NOMASK_ENV)
     {
-      env.fpc = FPC_EXCEPTION_MASK;
-      env.ieee_instruction_pointer = 0;
+      env.__fpc = FPC_EXCEPTION_MASK;
+      env.__ieee_instruction_pointer = 0;
     }
   else
     env = (*envp);
 
-  _FPU_SETCW (env.fpc);
+  _FPU_SETCW (env.__fpc);
 
   /* Success.  */
   return 0;