[PATCH] RISC-V: Fix header guard for sys/fenv.h

Kito Cheng kito.cheng@sifive.com
Fri Aug 2 03:38:00 GMT 2019


---
 newlib/libc/machine/riscv/sys/fenv.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/newlib/libc/machine/riscv/sys/fenv.h b/newlib/libc/machine/riscv/sys/fenv.h
index 1c4342571..e69978dca 100644
--- a/newlib/libc/machine/riscv/sys/fenv.h
+++ b/newlib/libc/machine/riscv/sys/fenv.h
@@ -9,8 +9,8 @@
    http://www.opensource.org/licenses.
 */
 
-#ifndef _FENV_H_
-#define _FENV_H_
+#ifndef _SYS_FENV_H
+#define _SYS_FENV_H
 
 #include <stddef.h>
 
@@ -74,4 +74,4 @@ typedef size_t fexcept_t;
 extern const fenv_t fe_dfl_env;
 #define FE_DFL_ENV fe_dfl_env_p
 
-#endif /* _FENV_H_ */
+#endif /* _SYS_FENV_H */
-- 
2.17.1



More information about the Newlib mailing list