summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/arm/SYS.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/libc/arm/SYS.h b/lib/libc/arm/SYS.h
index b9bc742..4710876 100644
--- a/lib/libc/arm/SYS.h
+++ b/lib/libc/arm/SYS.h
@@ -39,19 +39,10 @@
#include <sys/syscall.h>
#include <machine/swi.h>
-#ifdef __STDC__
#define SYSTRAP(x) swi 0 | SYS_ ## x
-#else
-#define SYSTRAP(x) swi 0 | SYS_/**/x
-#endif
-#ifdef __ELF__
#define CERROR _C_LABEL(cerror)
#define CURBRK _C_LABEL(curbrk)
-#else
-#define CERROR _ASM_LABEL(cerror)
-#define CURBRK _ASM_LABEL(curbrk)
-#endif
#define _SYSCALL_NOERROR(x) \
ENTRY(__CONCAT(__sys_, x)); \
OpenPOWER on IntegriCloud