diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2021-03-24 10:44:00 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2021-04-13 12:55:33 +0200 |
commit | 79ac4237dcf7a133176b5664fac37f39164df533 (patch) | |
tree | bb002cd530f27ce6e9853a19285d9099fb3755f1 /newlib/libc/machine | |
parent | c326ca1615ea08ebbc11c61dd3248c82df232637 (diff) | |
download | newlib-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.h | 5 |
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__ |