aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sh
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-01-29 17:36:58 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-02-14 21:09:12 -0300
commitfcb78a55058fd4e3477d9e4c6a5083d650aefa31 (patch)
tree888c34d043ee64bc43da8e8fca7d61966cb22df6 /sysdeps/unix/sh
parent9a973da617772eff1f351989f8995f4305a2e63c (diff)
downloadglibc-fcb78a55058fd4e3477d9e4c6a5083d650aefa31.zip
glibc-fcb78a55058fd4e3477d9e4c6a5083d650aefa31.tar.gz
glibc-fcb78a55058fd4e3477d9e4c6a5083d650aefa31.tar.bz2
linux: Consolidate INLINE_SYSCALL
With all Linux ABIs using the expected Linux kABI to indicate syscalls errors, there is no need to replicate the INLINE_SYSCALL. The generic Linux sysdep.h includes errno.h even for !__ASSEMBLER__, which is ok now and it allows cleanup some archaic code that assume otherwise. Checked with a build against all affected ABIs.
Diffstat (limited to 'sysdeps/unix/sh')
-rw-r--r--sysdeps/unix/sh/sysdep.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sh/sysdep.S b/sysdeps/unix/sh/sysdep.S
index 7facc02..dc9a230 100644
--- a/sysdeps/unix/sh/sysdep.S
+++ b/sysdeps/unix/sh/sysdep.S
@@ -16,8 +16,7 @@
<https://www.gnu.org/licenses/>. */
#include <sysdep.h>
-#define _ERRNO_H
-#include <bits/errno.h>
+#include <errno.h>
ENTRY(__syscall_error)
#if defined (EWOULDBLOCK_sys) && EWOULDBLOCK_sys != EAGAIN