summaryrefslogtreecommitdiff
path: root/ldso/ldso/sh/dl-syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/ldso/sh/dl-syscalls.h')
-rw-r--r--ldso/ldso/sh/dl-syscalls.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/ldso/ldso/sh/dl-syscalls.h b/ldso/ldso/sh/dl-syscalls.h
index 712852c4c..f9f13c7fa 100644
--- a/ldso/ldso/sh/dl-syscalls.h
+++ b/ldso/ldso/sh/dl-syscalls.h
@@ -1,10 +1,3 @@
-/* We can't use the real errno in ldso, since it has not yet
- * been dynamicly linked in yet. */
-#include "sys/syscall.h"
-extern int _dl_errno;
-#undef __set_errno
-#define __set_errno(X) {(_dl_errno) = (X);}
-
#if __GNUC_PREREQ (4, 1)
#warning !!! gcc 4.1 and later have problems with __always_inline so redefined as inline
# ifdef __always_inline