summaryrefslogtreecommitdiff
path: root/lib/libc/arch/mvme88k/SYS.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/mvme88k/SYS.h')
-rw-r--r--lib/libc/arch/mvme88k/SYS.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/lib/libc/arch/mvme88k/SYS.h b/lib/libc/arch/mvme88k/SYS.h
index 29f81db8f31..74fc735d5f5 100644
--- a/lib/libc/arch/mvme88k/SYS.h
+++ b/lib/libc/arch/mvme88k/SYS.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: SYS.h,v 1.3 2001/09/20 20:52:10 millert Exp $ */
+/* $OpenBSD: SYS.h,v 1.4 2002/02/19 19:39:36 millert Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -41,8 +41,6 @@
#include <sys/syscall.h>
#include <machine/asm.h>
-#ifdef __STDC__
-
#define _SYSCALL(x,y) align 8; \
ENTRY(x); \
ld r10,r31,32; \
@@ -60,26 +58,6 @@
or r13,r0, SYS_ ## y; \
tb0 0,r0,128; or r0,r0,r0;jmp r1
-#else /* !__STDC__ */
-
-#define _SYSCALL(x,y) align 8; \
- ENTRY(x); \
- ld r10,r31,32; \
- ld r11,r31,36; \
- ld r12,r31,40; \
- or r13,r0, SYS_/**/y; \
- tb0 0, r0, 128; \
- br cerror
-#define SYSCALL(x) _SYSCALL(x,x)
-#define RSYSCALL(x) SYSCALL(x); \
- jmp r1
-#define PSEUDO(x,y) _SYSCALL(x,y); \
- jmp r1
-#define PSEUDO_NOERROR(x,y) ENTRY(x); \
- or r13,r0, SYS_/**/y; \
- tb0 0,r0,128; or r0,r0,r0; jmp r1
-#endif /* !__STDC__ */
-
#define ASMSTR .asciz
.globl cerror