public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Jon TURNEY <jturney@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] fenv: Fix mangled makedoc markup Date: Tue, 13 Aug 2019 11:31:00 -0000 [thread overview] Message-ID: <20190813113110.53406.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5624c18785e456efd730be55aeaad5e9dd4cf3b5 commit 5624c18785e456efd730be55aeaad5e9dd4cf3b5 Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Mon Aug 12 19:18:15 2019 +0100 fenv: Fix mangled makedoc markup See makedoc.c:657: Variables are marked up as '<[foo]>'. Code is marked up as '<<foo>>'. Diff: --- newlib/libm/fenv/fegetexceptflag.c | 2 +- newlib/libm/fenv/fesetenv.c | 4 ++-- newlib/libm/fenv/fesetexceptflag.c | 4 ++-- newlib/libm/fenv/feupdateenv.c | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/newlib/libm/fenv/fegetexceptflag.c b/newlib/libm/fenv/fegetexceptflag.c index e0e20b9..c2f854b 100644 --- a/newlib/libm/fenv/fegetexceptflag.c +++ b/newlib/libm/fenv/fegetexceptflag.c @@ -45,7 +45,7 @@ SYNOPSIS DESCRIPTION This method attempts to store an implementation-defined representation of the states of the floating-point status flags specified by <[excepts]> -in the memory pointed to by <[flagp>]. +in the memory pointed to by <[flagp]>. RETURNS If the information was successfully returned, this method returns diff --git a/newlib/libm/fenv/fesetenv.c b/newlib/libm/fenv/fesetenv.c index 410abcc..f2432e0 100644 --- a/newlib/libm/fenv/fesetenv.c +++ b/newlib/libm/fenv/fesetenv.c @@ -38,13 +38,13 @@ INDEX SYNOPSIS #include <fenv.h> - int fesetenv(const fenv_t *[<envp>]); + int fesetenv(const fenv_t *<[envp]>); Link with -lm. DESCRIPTION This method attempts to establish the floating-point environment -pointed to by <[envp]>. The argument [<envp>] must point to a +pointed to by <[envp]>. The argument <[envp]> must point to a floating-point environment obtained via <<fegetenv>> or <<feholdexcept>> or a floating-point environment macro such as <<FE_DFL_ENV>>. diff --git a/newlib/libm/fenv/fesetexceptflag.c b/newlib/libm/fenv/fesetexceptflag.c index 1f35093..0e8ce1f 100644 --- a/newlib/libm/fenv/fesetexceptflag.c +++ b/newlib/libm/fenv/fesetexceptflag.c @@ -44,8 +44,8 @@ SYNOPSIS DESCRIPTION This method attempts to set the floating-point status flags specified -by <[excepts]> to the states indicated by <[flagp>]. The argument -[<flagp>] must point to an fexcept_t instance obtained via calling +by <[excepts]> to the states indicated by <[flagp]>. The argument +<[flagp]> must point to an fexcept_t instance obtained via calling <<fegetexceptflag>> with at least the floating-point exceptions specified by the argument <[excepts]>. diff --git a/newlib/libm/fenv/feupdateenv.c b/newlib/libm/fenv/feupdateenv.c index e1dd965..014440b 100644 --- a/newlib/libm/fenv/feupdateenv.c +++ b/newlib/libm/fenv/feupdateenv.c @@ -38,17 +38,17 @@ INDEX SYNOPSIS #include <fenv.h> - int feupdateenv(const fenv_t *[<envp>]); + int feupdateenv(const fenv_t *<[envp]>); Link with -lm. DESCRIPTION This method attempts to save the currently raised floating point exceptions in its automatic storage, install the floating point -environment specified by [<envp]>, and raise the saved floating +environment specified by <[envp]>, and raise the saved floating point exceptions. -The argument [<envp>] must point to a floating-point environment +The argument <[envp]> must point to a floating-point environment obtained via <<fegetenv>> or <<feholdexcept>>. RETURNS
reply other threads:[~2019-08-13 11:31 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=20190813113110.53406.qmail@sourceware.org \ --to=jturney@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).