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

Message ID 20190802033809.6126-1-kito.cheng@sifive.com
State Accepted
Commit 654398db84c689068476e1f06b08f2093c0cc920
Headers show
Series
  • RISC-V: Fix header guard for sys/fenv.h
Related show

Commit Message

Kito Cheng Aug. 2, 2019, 3:38 a.m.
---
 newlib/libc/machine/riscv/sys/fenv.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
2.17.1

Comments

Corinna Vinschen Aug. 2, 2019, 7:35 a.m. | #1
On Aug  2 11:38, Kito Cheng wrote:
> ---

>  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


Pushed.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Patch

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 */