aboutsummaryrefslogtreecommitdiff
path: root/math/feholdexcpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/feholdexcpt.c')
-rw-r--r--math/feholdexcpt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/feholdexcpt.c b/math/feholdexcpt.c
index b4e3260..c830afb 100644
--- a/math/feholdexcpt.c
+++ b/math/feholdexcpt.c
@@ -22,7 +22,8 @@
int
feholdexcept (fenv_t *envp)
{
- return 1; /* Signal failure. */
+ /* No exception traps to disable and no state to save. */
+ return 0;
}
libm_hidden_def (feholdexcept)
stub_warning (feholdexcept)