diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2002-11-05 00:37:10 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2002-11-05 00:37:10 +0000 |
commit | dba8ab30457588f452991d11443cbdfa9e28e3f3 (patch) | |
tree | 71b4255c440a5375194cd91212af1aa8aab00718 /lib/libc/arch/vax/sys | |
parent | 7be8045b2b948a9005df064a2a99c581f5b6ad84 (diff) |
Rename cerror to __cerror and curbrk to __curbrk, to avoid namespace
pollution. Conforming to art@'s evil plans.
Diffstat (limited to 'lib/libc/arch/vax/sys')
-rw-r--r-- | lib/libc/arch/vax/sys/brk.S | 8 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/cerror.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/exect.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/sbrk.S | 14 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/sigprocmask.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/sigsuspend.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/syscall.S | 4 |
7 files changed, 21 insertions, 21 deletions
diff --git a/lib/libc/arch/vax/sys/brk.S b/lib/libc/arch/vax/sys/brk.S index b0122dddd91..6ddf50b260a 100644 --- a/lib/libc/arch/vax/sys/brk.S +++ b/lib/libc/arch/vax/sys/brk.S @@ -33,12 +33,12 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: brk.S,v 1.3 1998/05/17 10:06:30 niklas Exp $" + .asciz "$OpenBSD: brk.S,v 1.4 2002/11/05 00:37:09 miod Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" - .globl curbrk + .globl __curbrk .globl minbrk ENTRY(_brk, 0) jbr ok @@ -50,8 +50,8 @@ ENTRY(brk, 0) ok: chmk $ SYS_break jcs err - movl 4(ap),curbrk + movl 4(ap),__curbrk clrl r0 ret err: - jmp cerror + jmp __cerror diff --git a/lib/libc/arch/vax/sys/cerror.S b/lib/libc/arch/vax/sys/cerror.S index 67f256d1cc9..c1d6a81a9bb 100644 --- a/lib/libc/arch/vax/sys/cerror.S +++ b/lib/libc/arch/vax/sys/cerror.S @@ -33,13 +33,13 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: cerror.S,v 1.3 1996/08/19 08:18:58 tholo Exp $" + .asciz "$OpenBSD: cerror.S,v 1.4 2002/11/05 00:37:09 miod Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" .globl _errno -cerror: +__cerror: movl r0,_errno mnegl $1,r0 mnegl $1,r1 diff --git a/lib/libc/arch/vax/sys/exect.S b/lib/libc/arch/vax/sys/exect.S index 8c04233d1fa..bd53807fcfd 100644 --- a/lib/libc/arch/vax/sys/exect.S +++ b/lib/libc/arch/vax/sys/exect.S @@ -33,7 +33,7 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: exect.S,v 1.4 2001/08/23 21:58:41 miod Exp $" + .asciz "$OpenBSD: exect.S,v 1.5 2002/11/05 00:37:09 miod Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" @@ -42,4 +42,4 @@ SYSENTRY(exect) bispsw $PSL_T chmk $ SYS_execve - jmp cerror # exect(file, argv, env) + jmp __cerror # exect(file, argv, env) diff --git a/lib/libc/arch/vax/sys/sbrk.S b/lib/libc/arch/vax/sys/sbrk.S index 5266bbe6ad1..a494b9c1d2f 100644 --- a/lib/libc/arch/vax/sys/sbrk.S +++ b/lib/libc/arch/vax/sys/sbrk.S @@ -33,7 +33,7 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: sbrk.S,v 1.4 2001/03/18 07:29:04 bjc Exp $" + .asciz "$OpenBSD: sbrk.S,v 1.5 2002/11/05 00:37:09 miod Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" @@ -41,22 +41,22 @@ .globl _end .globl minbrk - .globl curbrk + .globl __curbrk .data minbrk: .long _end -curbrk: .long _end +__curbrk:.long _end .text ENTRY(sbrk, R3) - addl3 curbrk,4(ap),-(sp) + addl3 __curbrk,4(ap),-(sp) pushl $1 movl ap,r3 movl sp,ap chmk $ SYS_break jcs err - movl curbrk,r0 - addl2 4(r3),curbrk + movl __curbrk,r0 + addl2 4(r3),__curbrk ret err: - jmp cerror + jmp __cerror diff --git a/lib/libc/arch/vax/sys/sigprocmask.S b/lib/libc/arch/vax/sys/sigprocmask.S index f830bc1c08d..665fc5bbb6f 100644 --- a/lib/libc/arch/vax/sys/sigprocmask.S +++ b/lib/libc/arch/vax/sys/sigprocmask.S @@ -33,13 +33,13 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: sigprocmask.S,v 1.4 2001/08/23 21:58:41 miod Exp $" + .asciz "$OpenBSD: sigprocmask.S,v 1.5 2002/11/05 00:37:09 miod Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" err: - jmp cerror + jmp __cerror SYSENTRY(sigprocmask) tstl 8(ap) # check new sigset pointer diff --git a/lib/libc/arch/vax/sys/sigsuspend.S b/lib/libc/arch/vax/sys/sigsuspend.S index 445f6e5db4a..7de8cb7e3f5 100644 --- a/lib/libc/arch/vax/sys/sigsuspend.S +++ b/lib/libc/arch/vax/sys/sigsuspend.S @@ -33,13 +33,13 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: sigsuspend.S,v 1.4 2001/08/23 21:58:41 miod Exp $" + .asciz "$OpenBSD: sigsuspend.S,v 1.5 2002/11/05 00:37:09 miod Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" err: - jmp cerror + jmp __cerror SYSENTRY(sigsuspend) movl *4(ap),4(ap) # indirect to mask arg diff --git a/lib/libc/arch/vax/sys/syscall.S b/lib/libc/arch/vax/sys/syscall.S index c8ad8befdcc..f8aac2fdaac 100644 --- a/lib/libc/arch/vax/sys/syscall.S +++ b/lib/libc/arch/vax/sys/syscall.S @@ -38,7 +38,7 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: syscall.S,v 1.4 2001/08/23 21:58:41 miod Exp $" + .asciz "$OpenBSD: syscall.S,v 1.5 2002/11/05 00:37:09 miod Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" @@ -50,4 +50,4 @@ SYSENTRY(syscall) jcs 1f ret 1: - jmp cerror + jmp __cerror |