diff options
Diffstat (limited to 'libc/sysdeps/linux/arc/bits/syscalls.h')
-rw-r--r-- | libc/sysdeps/linux/arc/bits/syscalls.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/arc/bits/syscalls.h b/libc/sysdeps/linux/arc/bits/syscalls.h index 248ef7844..000b6b631 100644 --- a/libc/sysdeps/linux/arc/bits/syscalls.h +++ b/libc/sysdeps/linux/arc/bits/syscalls.h @@ -34,7 +34,7 @@ /* ldso doesn't have real errno */ #define ERRNO_ERRANDS(_sys_result) #else /* !IS_IN_rtld */ -extern int __syscall_error (int); +extern long __syscall_error (int); #ifndef IS_IN_libc /* Inter-libc callers use PLT */ #define CALL_ERRNO_SETTER "bl __syscall_error@plt \n\t" @@ -100,7 +100,7 @@ extern int __syscall_error (int); #ifdef __A7__ #define ARC_TRAP_INSN "trap0 \n\t" -#elif defined(__HS__) +#else #define ARC_TRAP_INSN "trap_s 0 \n\t" #endif @@ -182,7 +182,7 @@ extern int __syscall_error (int); #ifdef __A7__ #define ARC_TRAP_INSN trap0 -#elif defined(__HS__) +#else #define ARC_TRAP_INSN trap_s 0 #endif |