summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-10-06 23:31:22 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-10-06 23:31:22 +0000
commit3acf6e3b21cfe4b074a2b2c932f20cfdd293f89a (patch)
treecffe3f21a7b4233eae46622f6fe10cec7ca0dc36 /lib/libc
parent1a52c532f6d98ed3731732227cc08eb3a2c0eb26 (diff)
Rename curbrk to __curbrk on alpha to avoid namespace pollution.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/alpha/sys/brk.S8
-rw-r--r--lib/libc/arch/alpha/sys/sbrk.S10
2 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/arch/alpha/sys/brk.S b/lib/libc/arch/alpha/sys/brk.S
index 8451dcb9d64..4f328d5ca4c 100644
--- a/lib/libc/arch/alpha/sys/brk.S
+++ b/lib/libc/arch/alpha/sys/brk.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: brk.S,v 1.4 1996/11/13 22:05:10 niklas Exp $ */
+/* $OpenBSD: brk.S,v 1.5 2002/10/06 23:31:21 art Exp $ */
/* $NetBSD: brk.S,v 1.4 1996/10/17 03:08:15 cgd Exp $ */
/*
@@ -32,11 +32,11 @@
#if defined(SYSLIBC_SCCS)
.text
- .asciz "$OpenBSD: brk.S,v 1.4 1996/11/13 22:05:10 niklas Exp $"
+ .asciz "$OpenBSD: brk.S,v 1.5 2002/10/06 23:31:21 art Exp $"
#endif /* SYSLIBC_SCCS */
.globl _end
-IMPORT(curbrk, 8)
+IMPORT(__curbrk, 8)
.data
EXPORT(minbrk)
@@ -50,7 +50,7 @@ L1: LDGP(pv)
cmpult a0, v0, t0
cmovne t0, v0, a0
CALLSYS_ERROR(break)
- stq a0, curbrk
+ stq a0, __curbrk
mov zero, v0
RET
END(brk)
diff --git a/lib/libc/arch/alpha/sys/sbrk.S b/lib/libc/arch/alpha/sys/sbrk.S
index 7b3d7abd7e2..527a5231218 100644
--- a/lib/libc/arch/alpha/sys/sbrk.S
+++ b/lib/libc/arch/alpha/sys/sbrk.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbrk.S,v 1.4 1996/11/13 22:05:13 niklas Exp $ */
+/* $OpenBSD: sbrk.S,v 1.5 2002/10/06 23:31:21 art Exp $ */
/* $NetBSD: sbrk.S,v 1.4 1996/10/17 03:08:20 cgd Exp $ */
/*
@@ -32,23 +32,23 @@
#if defined(SYSLIBC_SCCS)
.text
- .asciz "$OpenBSD: sbrk.S,v 1.4 1996/11/13 22:05:13 niklas Exp $"
+ .asciz "$OpenBSD: sbrk.S,v 1.5 2002/10/06 23:31:21 art Exp $"
#endif /* SYSLIBC_SCCS */
.globl _end
.data
-EXPORT(curbrk)
+EXPORT(__curbrk)
.quad _end
.text
LEAF(sbrk, 1)
br pv, L1 /* XXX profiling */
L1: LDGP(pv)
- ldq a1, curbrk
+ ldq a1, __curbrk
addq a0, a1, a0
CALLSYS_ERROR(break)
- stq a0, curbrk
+ stq a0, __curbrk
mov a1, v0
RET
END(sbrk)