Re: [PATCH] riscv/sys/fenv.h: Add missing extern for fe_dfl_env_p

Kito Cheng <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CA+yXCZAJ0ucQG0G2GAS5JCmTfeQ6qqgJ9ozLRboiCHi-CtaA+Q@mail.gmail.com>
Hi Joel:

LGTM, verified with rv64gc and rv32g.

Thanks :)

On Thu, Oct 10, 2019 at 12:01 AM Joel Sherrill <[email protected]> wrote:

> ---
>  newlib/libc/machine/riscv/sys/fenv.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/newlib/libc/machine/riscv/sys/fenv.h
> b/newlib/libc/machine/riscv/sys/fenv.h
> index e69978d..6cbd321 100644
> --- a/newlib/libc/machine/riscv/sys/fenv.h
> +++ b/newlib/libc/machine/riscv/sys/fenv.h
> @@ -72,6 +72,8 @@
>  typedef size_t fenv_t;
>  typedef size_t fexcept_t;
>  extern const fenv_t fe_dfl_env;
> +extern const fenv_t *fe_dfl_env_p;
> +
>  #define FE_DFL_ENV fe_dfl_env_p
>
>  #endif /* _SYS_FENV_H */
> --
> 1.8.3.1
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.