Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/mingwex/fesetexceptflag.c')
-rw-r--r--winsup/mingw/mingwex/fesetexceptflag.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/mingw/mingwex/fesetexceptflag.c b/winsup/mingw/mingwex/fesetexceptflag.c
index 7f4b8e562..e4aecad3b 100644
--- a/winsup/mingw/mingwex/fesetexceptflag.c
+++ b/winsup/mingw/mingwex/fesetexceptflag.c
@@ -9,7 +9,7 @@
represented by the argument excepts. This function does not raise
exceptions, but only sets the state of the flags. */
-int fesetexceptflag (const fexcept_t * flagp, int excepts)
+void fesetexceptflag (const fexcept_t * flagp, int excepts)
{
fenv_t _env;
@@ -18,5 +18,4 @@ int fesetexceptflag (const fexcept_t * flagp, int excepts)
_env.__status_word &= ~excepts;
_env.__status_word |= (*flagp & excepts);
__asm__ volatile ("fldenv %0;" : : "m" (_env));
- return 0;
}