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

Kito Cheng <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
---
 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
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.