diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/fesetround.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/math/fesetround.c b/math/fesetround.c index 0c11cae..52a811b 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) |