diff options
| author | 2009-03-20 15:19:04 +0000 | |
|---|---|---|
| committer | 2009-03-20 15:19:04 +0000 | |
| commit | 2023d59171f7ea46aa6f295790283df02155e095 (patch) | |
| tree | b48a89a15ad990ed35f224f5d0511d8bfacc9e46 /sys/uvm/uvm_unix.c | |
| parent | Minor style nit; rnoland (freebsd). (diff) | |
| download | wireguard-openbsd-2023d59171f7ea46aa6f295790283df02155e095.tar.xz wireguard-openbsd-2023d59171f7ea46aa6f295790283df02155e095.zip | |
While working on some stuff in uvm I've gotten REALLY sick of reading
K&R function declarations, so switch them all over to ansi-style, in
accordance with the prophesy.
"go for it" art@
Diffstat (limited to 'sys/uvm/uvm_unix.c')
| -rw-r--r-- | sys/uvm/uvm_unix.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/sys/uvm/uvm_unix.c b/sys/uvm/uvm_unix.c index 118072ea12e..192faf6c106 100644 --- a/sys/uvm/uvm_unix.c +++ b/sys/uvm/uvm_unix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_unix.c,v 1.35 2009/03/05 19:52:24 kettenis Exp $ */ +/* $OpenBSD: uvm_unix.c,v 1.36 2009/03/20 15:19:04 oga Exp $ */ /* $NetBSD: uvm_unix.c,v 1.18 2000/09/13 15:00:25 thorpej Exp $ */ /* @@ -67,10 +67,7 @@ */ int -sys_obreak(p, v, retval) - struct proc *p; - void *v; - register_t *retval; +sys_obreak(struct proc *p, void *v, register_t *retval) { struct sys_obreak_args /* { syscallarg(char *) nsize; @@ -117,9 +114,7 @@ sys_obreak(p, v, retval) */ void -uvm_grow(p, sp) - struct proc *p; - vaddr_t sp; +uvm_grow(struct proc *p, vaddr_t sp) { struct vmspace *vm = p->p_vmspace; int si; @@ -157,11 +152,8 @@ uvm_grow(p, sp) */ int -uvm_coredump(p, vp, cred, chdr) - struct proc *p; - struct vnode *vp; - struct ucred *cred; - struct core *chdr; +uvm_coredump(struct proc *p, struct vnode *vp, struct ucred *cred, + struct core *chdr) { struct vmspace *vm = p->p_vmspace; vm_map_t map = &vm->vm_map; |
