summary refs log tree commit diff
path: root/sysdeps/s390/fpu/fclrexcpt.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-08-21 17:06:46 +0000
committerAndreas Jaeger <aj@suse.de>2000-08-21 17:06:46 +0000
commit528be9fe8e08d78481d681c9ce23af6ba60ed2f5 (patch)
tree6f267c451b3390f3605f12de48f421166302cd0d /sysdeps/s390/fpu/fclrexcpt.c
parentb7d2cec07113b7161a99f0fe8ee6234625984fce (diff)
downloadglibc-528be9fe8e08d78481d681c9ce23af6ba60ed2f5.tar.gz
glibc-528be9fe8e08d78481d681c9ce23af6ba60ed2f5.tar.xz
glibc-528be9fe8e08d78481d681c9ce23af6ba60ed2f5.zip
Add sys/procfs.h.
Diffstat (limited to 'sysdeps/s390/fpu/fclrexcpt.c')
-rw-r--r--sysdeps/s390/fpu/fclrexcpt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/s390/fpu/fclrexcpt.c b/sysdeps/s390/fpu/fclrexcpt.c
index aa159fd282..508eb0c1b8 100644
--- a/sysdeps/s390/fpu/fclrexcpt.c
+++ b/sysdeps/s390/fpu/fclrexcpt.c
@@ -17,7 +17,7 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#include <fenv.h>
+#include <fenv_libc.h>
 #include <fpu_control.h>
 
 int
@@ -28,12 +28,12 @@ feclearexcept (int excepts)
   /* Mask out unsupported bits/exceptions.  */
   excepts &= FE_ALL_EXCEPT;
 
-  _FPU_GETCW(temp);
+  _FPU_GETCW (temp);
   /* Clear the relevant bits.  */
-  temp &= ~((excepts<<FPC_DXC_SHIFT)|(excepts<<FPC_FLAGS_SHIFT));
+  temp &= ~((excepts << FPC_DXC_SHIFT)|(excepts << FPC_FLAGS_SHIFT));
 
   /* Put the new data in effect.  */
-  _FPU_SETCW(temp);
+  _FPU_SETCW (temp);
 
   /* Success.  */
   return 0;