summaryrefslogtreecommitdiff
path: root/lib/libc/arch/powerpc
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2014-06-04 20:13:50 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2014-06-04 20:13:50 +0000
commit13eed0265c7dd4bd313b7b59ef6210a0ee599810 (patch)
tree5b391c30ca5d2f42319a1dca356b2fde8114569a /lib/libc/arch/powerpc
parentdf20b77986557f66c89b345fa17843a9c55d7b6b (diff)
Apply "unifdef -D__STDC__" to libc/arch/*/SYS.h
A while back, pascal@ converted our system call stubs from using "cpp | as" to "cc -x assembler-with-cpp", so there's no need to stay compatible with ancient preprocessor semantics. ok miod
Diffstat (limited to 'lib/libc/arch/powerpc')
-rw-r--r--lib/libc/arch/powerpc/SYS.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/libc/arch/powerpc/SYS.h b/lib/libc/arch/powerpc/SYS.h
index 67915bc56c0..218c49f5878 100644
--- a/lib/libc/arch/powerpc/SYS.h
+++ b/lib/libc/arch/powerpc/SYS.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: SYS.h,v 1.14 2010/10/01 05:02:19 guenther Exp $ */
+/* $OpenBSD: SYS.h,v 1.15 2014/06/04 20:13:49 matthew Exp $ */
/*-
* Copyright (c) 1994
* Andrew Cagney. All rights reserved.
@@ -44,19 +44,11 @@
#include "machine/asm.h"
-#ifdef __STDC__
#define _CONCAT(x,y) x##y
#define PSEUDO_PREFIX(p,x,y) .extern _ASM_LABEL(__cerror) ; \
ENTRY(p##x) \
li 0, SYS_##y ; \
/* sc */
-#else /* !__STDC__ */
-#define _CONCAT(x,y) x/**/y
-#define PSEUDO_PREFIX(p,x,y) .extern _ASM_LABEL(__cerror) ; \
- ENTRY(p/**/x) \
- li 0, SYS_/**/y ; \
- /* sc */
-#endif /* !__STDC__ */
#define PSEUDO_SUFFIX cmpwi 0, 0 ; \
beqlr+ ; \
b PIC_PLT(_ASM_LABEL(__cerror))