From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53686 invoked by alias); 13 Aug 2019 11:31:10 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 53407 invoked by uid 9795); 13 Aug 2019 11:31:10 -0000 Date: Tue, 13 Aug 2019 11:31:00 -0000 Message-ID: <20190813113110.53406.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Jon TURNEY To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] fenv: Fix mangled makedoc markup X-Act-Checkin: newlib-cygwin X-Git-Author: Jon Turney X-Git-Refname: refs/heads/master X-Git-Oldrev: be095dde8aae118ed849050ffb952e8a951d0f05 X-Git-Newrev: 5624c18785e456efd730be55aeaad5e9dd4cf3b5 X-SW-Source: 2019-q3/txt/msg00022.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5624c18785e456efd730be55aeaad5e9dd4cf3b5 commit 5624c18785e456efd730be55aeaad5e9dd4cf3b5 Author: Jon Turney 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 '<>'. 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 - int fesetenv(const fenv_t *[]); + 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 [] must point to a +pointed to by <[envp]>. The argument <[envp]> must point to a floating-point environment obtained via <> or <> or a floating-point environment macro such as <>. 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 -[] 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 <> 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 - int feupdateenv(const fenv_t *[]); + 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 [, and raise the saved floating +environment specified by <[envp]>, and raise the saved floating point exceptions. -The argument [] must point to a floating-point environment +The argument <[envp]> must point to a floating-point environment obtained via <> or <>. RETURNS