[newlib-cygwin/main] arc: libgloss: Fix define guard in nsim-syscall.h

Jeff Johnston jjohnstn@sourceware.org
Tue Aug 20 22:31:20 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c3561210ed9eeb7e45b0a212d971645086fec8ff

commit c3561210ed9eeb7e45b0a212d971645086fec8ff
Author: Yuriy Kolerov <ykolerov@synopsys.com>
Date:   Tue Aug 20 15:10:36 2024 +0300

    arc: libgloss: Fix define guard in nsim-syscall.h
    
    Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>

Diff:
---
 libgloss/arc/nsim-syscall.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libgloss/arc/nsim-syscall.h b/libgloss/arc/nsim-syscall.h
index a2009f5b2..9d13b226e 100644
--- a/libgloss/arc/nsim-syscall.h
+++ b/libgloss/arc/nsim-syscall.h
@@ -28,8 +28,8 @@
    POSSIBILITY OF SUCH DAMAGE.
 */
 
-#ifndef _ASM_ARC_UNISTD_H
-#define _ASM_ARC_UNISTD_H
+#ifndef _NSIM_SYSCALL_H
+#define _NSIM_SYSCALL_H
 
 #include <stdint.h>
 
@@ -454,4 +454,4 @@ struct nsim_stat {
 	uint32_t __unused5;
 };
 
-#endif	/* _ASM_ARC_UNISTD_H */
+#endif	/* _NSIM_SYSCALL_H */


More information about the Newlib-cvs mailing list