aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/machine
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2021-03-24 10:44:00 +0100
committerCorinna Vinschen <corinna@vinschen.de>2021-04-13 12:55:33 +0200
commit79ac4237dcf7a133176b5664fac37f39164df533 (patch)
treebb002cd530f27ce6e9853a19285d9099fb3755f1 /newlib/libc/machine
parentc326ca1615ea08ebbc11c61dd3248c82df232637 (diff)
downloadnewlib-79ac4237dcf7a133176b5664fac37f39164df533.zip
newlib-79ac4237dcf7a133176b5664fac37f39164df533.tar.gz
newlib-79ac4237dcf7a133176b5664fac37f39164df533.tar.bz2
fenv: add missing declarations to x86 fenv.h
feenableexcept, fedisableexcept and fegetexcept were accidentally missing in the x86 fenv.h Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/machine')
-rw-r--r--newlib/libc/machine/x86_64/sys/fenv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/machine/x86_64/sys/fenv.h b/newlib/libc/machine/x86_64/sys/fenv.h
index 83f5995..0cf152a 100644
--- a/newlib/libc/machine/x86_64/sys/fenv.h
+++ b/newlib/libc/machine/x86_64/sys/fenv.h
@@ -156,6 +156,11 @@ extern const fenv_t *_fe_dfl_env;
if _GNU_SOURCE is defined. */
extern const fenv_t *_fe_nomask_env;
#define FE_NOMASK_ENV (_fe_nomask_env)
+
+/* These are GNU extensions defined in glibc. */
+int feenableexcept (int __excepts);
+int fedisableexcept (int __excepts);
+int fegetexcept (void);
#endif /* __GNU_VISIBLE */
#ifdef __INSIDE_CYGWIN__