about summary refs log tree commit diff
path: root/sysdeps/s390/fpu/fegetround.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390/fpu/fegetround.c')
-rw-r--r--sysdeps/s390/fpu/fegetround.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/s390/fpu/fegetround.c b/sysdeps/s390/fpu/fegetround.c
index dd4e81ff73..f60821457c 100644
--- a/sysdeps/s390/fpu/fegetround.c
+++ b/sysdeps/s390/fpu/fegetround.c
@@ -21,7 +21,7 @@
 #include <fpu_control.h>
 
 int
-fegetround (void)
+__fegetround (void)
 {
   fexcept_t cw;
 
@@ -29,4 +29,6 @@ fegetround (void)
 
   return cw & FPC_RM_MASK;
 }
-libm_hidden_def (fegetround)
+libm_hidden_def (__fegetround)
+weak_alias (__fegetround, fegetround)
+libm_hidden_weak (fegetround)