about summary refs log tree commit diff
path: root/math/fesetround.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/fesetround.c')
-rw-r--r--math/fesetround.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/math/fesetround.c b/math/fesetround.c
index 0c11cae3de..52a811b705 100644
--- a/math/fesetround.c
+++ b/math/fesetround.c
@@ -20,7 +20,7 @@
 #include <fenv.h>
 
 int
-fesetround (int round)
+__fesetround (int round)
 {
 #ifdef FE_TONEAREST
   return (round == FE_TONEAREST) ? 0 : 1;
@@ -28,5 +28,7 @@ fesetround (int round)
   return 1;	/* Signal we are unable to set the direction.  */
 #endif
 }
-libm_hidden_def (fesetround)
+libm_hidden_def (__fesetround)
+weak_alias (__fesetround, fesetround)
+libm_hidden_weak (fesetround)
 stub_warning (fesetround)