aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/fpu/fesetround.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/fpu/fesetround.c')
-rw-r--r--sysdeps/x86_64/fpu/fesetround.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/x86_64/fpu/fesetround.c b/sysdeps/x86_64/fpu/fesetround.c
index 9cd5d75..2a9c351 100644
--- a/sysdeps/x86_64/fpu/fesetround.c
+++ b/sysdeps/x86_64/fpu/fesetround.c
@@ -19,7 +19,7 @@
#include <fenv.h>
int
-fesetround (int round)
+__fesetround (int round)
{
unsigned short int cw;
int mxcsr;
@@ -43,4 +43,6 @@ fesetround (int round)
return 0;
}
-libm_hidden_def (fesetround)
+libm_hidden_def (__fesetround)
+weak_alias (__fesetround, fesetround)
+libm_hidden_weak (fesetround)