This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH] riscv/sys/fenv.h: Add missing extern for fe_dfl_env_p
- From: Joel Sherrill <joel at rtems dot org>
- To: newlib at sourceware dot org
- Cc: Joel Sherrill <joel at rtems dot org>
- Date: Wed, 9 Oct 2019 11:01:21 -0500
- Subject: [PATCH] riscv/sys/fenv.h: Add missing extern for fe_dfl_env_p
---
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