public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] fenv: add missing declarations to x86 fenv.h Date: Tue, 13 Apr 2021 10:56:32 +0000 (GMT) [thread overview] Message-ID: <20210413105632.9C3413968C1A@sourceware.org> (raw) 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__
reply other threads:[~2021-04-13 10:56 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210413105632.9C3413968C1A@sourceware.org \ --to=corinna@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).