aboutsummaryrefslogtreecommitdiff
path: root/math/fegetround.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/fegetround.c')
-rw-r--r--math/fegetround.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/math/fegetround.c b/math/fegetround.c
index 665268e..7c150ec 100644
--- a/math/fegetround.c
+++ b/math/fegetround.c
@@ -20,7 +20,7 @@
#include <fenv.h>
int
-fegetround (void)
+__fegetround (void)
{
#ifdef FE_TONEAREST
return FE_TONEAREST;
@@ -28,5 +28,7 @@ fegetround (void)
return 0;
#endif
}
-libm_hidden_def (fegetround)
+libm_hidden_def (__fegetround)
+weak_alias (__fegetround, fegetround)
+libm_hidden_weak (fegetround)
stub_warning (fegetround)