summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_unix.c
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-03-20 15:19:05 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-03-20 15:19:05 +0000
commit1cec66db340b5071320225ab7544cf7d5891842f (patch)
tree22b949af148fe1ed4ff4f59bdb4179edd3211d0e /sys/uvm/uvm_unix.c
parent8f59db0d17f07fc6ce24afa8af4713c585ef09a0 (diff)
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.c18
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;