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/fegetenv.c')
-rw-r--r--winsup/mingw/mingwex/fegetenv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/mingw/mingwex/fegetenv.c b/winsup/mingw/mingwex/fegetenv.c
index 5ea5bd011..4553ce1a3 100644
--- a/winsup/mingw/mingwex/fegetenv.c
+++ b/winsup/mingw/mingwex/fegetenv.c
@@ -4,9 +4,8 @@
The fegetenv function stores the current floating-point environment
in the object pointed to by envp. */
-int fegetenv (fenv_t * envp)
+void fegetenv (fenv_t * envp)
{
__asm__ ("fnstenv %0;": "=m" (*envp));
- return 0;
}