summaryrefslogtreecommitdiff
path: root/lib/libc/arch
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-10-06 23:23:19 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-10-06 23:23:19 +0000
commit37e972bb8be4d82037144a9ad91984014512cd05 (patch)
treeabff3a9b188d8135af872ef6f53dab72907040fd /lib/libc/arch
parentde3b2766edcbaeae3299fcec745e85fcf919ffa1 (diff)
Rename cerror to __cerror on alpha to avoid namespace pollution.
Diffstat (limited to 'lib/libc/arch')
-rw-r--r--lib/libc/arch/alpha/SYS.h4
-rw-r--r--lib/libc/arch/alpha/sys/cerror.S8
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/arch/alpha/SYS.h b/lib/libc/arch/alpha/SYS.h
index 64b4c91cc2f..bc2ea4ca888 100644
--- a/lib/libc/arch/alpha/SYS.h
+++ b/lib/libc/arch/alpha/SYS.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: SYS.h,v 1.8 2002/01/04 21:37:18 drahn Exp $ */
+/* $OpenBSD: SYS.h,v 1.9 2002/10/06 23:23:18 art Exp $ */
/* $NetBSD: SYS.h,v 1.4 1996/10/17 03:03:53 cgd Exp $ */
/*
@@ -38,7 +38,7 @@
LLABEL(name,0): \
LDGP(gp); \
beq a3, LLABEL(name,1); \
- jmp zero, cerror; \
+ jmp zero, __cerror; \
LLABEL(name,1):
#define __LEAF(p,n,e) \
diff --git a/lib/libc/arch/alpha/sys/cerror.S b/lib/libc/arch/alpha/sys/cerror.S
index d0057067f36..c9a2308b07b 100644
--- a/lib/libc/arch/alpha/sys/cerror.S
+++ b/lib/libc/arch/alpha/sys/cerror.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: cerror.S,v 1.3 1996/11/13 22:05:11 niklas Exp $ */
+/* $OpenBSD: cerror.S,v 1.4 2002/10/06 23:23:18 art Exp $ */
/* $NetBSD: cerror.S,v 1.3 1996/10/17 03:08:17 cgd Exp $ */
/*
@@ -32,15 +32,15 @@
#if defined(SYSLIBC_SCCS)
.text
- .asciz "$OpenBSD: cerror.S,v 1.3 1996/11/13 22:05:11 niklas Exp $"
+ .asciz "$OpenBSD: cerror.S,v 1.4 2002/10/06 23:23:18 art Exp $"
#endif /* SYSLIBC_SCCS */
IMPORT(errno, 4)
-LEAF(cerror, 0)
+LEAF(__cerror, 0)
br t0, L1
L1: LDGP(t0)
stl v0, errno
ldiq v0, -1
RET
-END(cerror)
+END(__cerror)