summaryrefslogtreecommitdiff
path: root/lib/libc/arch/arm/SYS.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/arm/SYS.h')
-rw-r--r--lib/libc/arch/arm/SYS.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/arch/arm/SYS.h b/lib/libc/arch/arm/SYS.h
index 5d12784c3ec..037ded4050a 100644
--- a/lib/libc/arch/arm/SYS.h
+++ b/lib/libc/arch/arm/SYS.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: SYS.h,v 1.18 2020/03/13 09:31:24 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.19 2022/12/08 01:25:43 guenther Exp $ */
/* $NetBSD: SYS.h,v 1.8 2003/08/07 16:42:02 agc Exp $ */
/*-
@@ -40,8 +40,8 @@
#define SYSENTRY(x) \
- .weak _C_LABEL(x); \
- _C_LABEL(x) = _C_LABEL(_thread_sys_ ## x); \
+ .weak x; \
+ x = _thread_sys_ ## x; \
ENTRY(_thread_sys_ ## x)
#define SYSENTRY_HIDDEN(x) \
ENTRY(_thread_sys_ ## x)
@@ -58,7 +58,7 @@
dsb nsh; \
isb
-#define CERROR _C_LABEL(__cerror)
+#define CERROR __cerror
#define _SYSCALL_NOERROR(x,y) \
SYSENTRY(x); \