public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] fenv: add missing declarations to x86 fenv.h
@ 2021-04-13 10:56 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2021-04-13 10:56 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=79ac4237dcf7a133176b5664fac37f39164df533

commit 79ac4237dcf7a133176b5664fac37f39164df533
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Wed Mar 24 10:44:00 2021 +0100

    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>

Diff:
---
 newlib/libc/machine/x86_64/sys/fenv.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/newlib/libc/machine/x86_64/sys/fenv.h b/newlib/libc/machine/x86_64/sys/fenv.h
index 83f599577..0cf152a97 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__


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-13 10:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 10:56 [newlib-cygwin] fenv: add missing declarations to x86 fenv.h Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).