From 5624c18785e456efd730be55aeaad5e9dd4cf3b5 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Mon, 12 Aug 2019 19:18:15 +0100 Subject: [PATCH] fenv: Fix mangled makedoc markup See makedoc.c:657: Variables are marked up as '<[foo]>'. Code is marked up as '<>'. --- 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 e0e20b926..c2f854bb2 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 410abcc4f..f2432e0fc 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 1f350933c..0e8ce1f5c 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 e1dd9657f..014440ba4 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