summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2010-06-29 04:54:27 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2010-06-29 04:54:27 +0000
commite6720e42d915e2cc7d989e9844bbff3b29e6d76f (patch)
tree95c468050c34938e06c6f37c101852fb8b302d8a /sys
parentd1382be074efa737d70467a4fde317415c6a4314 (diff)
Ansify function declarations.
ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa/hppa/vm_machdep.c28
1 files changed, 8 insertions, 20 deletions
diff --git a/sys/arch/hppa/hppa/vm_machdep.c b/sys/arch/hppa/hppa/vm_machdep.c
index 9f6ab53994f..5bf2cddedfd 100644
--- a/sys/arch/hppa/hppa/vm_machdep.c
+++ b/sys/arch/hppa/hppa/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.72 2010/06/29 04:03:22 jsing Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.73 2010/06/29 04:54:26 jsing Exp $ */
/*
* Copyright (c) 1999-2004 Michael Shalayeff
@@ -53,11 +53,8 @@ extern struct pool hppa_fppl;
* Dump the machine specific header information at the start of a core dump.
*/
int
-cpu_coredump(p, vp, cred, core)
- struct proc *p;
- struct vnode *vp;
- struct ucred *cred;
- struct core *core;
+cpu_coredump(struct proc *p, struct vnode *vp, struct ucred *cred,
+ struct core *core)
{
struct md_coredump md_core;
struct coreseg cseg;
@@ -94,12 +91,8 @@ cpu_coredump(p, vp, cred, core)
}
void
-cpu_fork(p1, p2, stack, stacksize, func, arg)
- struct proc *p1, *p2;
- void *stack;
- size_t stacksize;
- void (*func)(void *);
- void *arg;
+cpu_fork(struct proc *p1, struct proc *p2, void *stack, size_t stacksize,
+ void (*func)(void *), void *arg)
{
struct pcb *pcbp;
struct trapframe *tf;
@@ -171,8 +164,7 @@ cpu_fork(p1, p2, stack, stacksize, func, arg)
}
void
-cpu_exit(p)
- struct proc *p;
+cpu_exit(struct proc *p)
{
struct pcb *pcb = &p->p_addr->u_pcb;
@@ -188,9 +180,7 @@ cpu_exit(p)
* Map an IO request into kernel virtual address space.
*/
void
-vmapbuf(bp, len)
- struct buf *bp;
- vsize_t len;
+vmapbuf(struct buf *bp, vsize_t len)
{
struct pmap *pm = vm_map_pmap(&bp->b_proc->p_vmspace->vm_map);
vaddr_t kva, uva;
@@ -225,9 +215,7 @@ vmapbuf(bp, len)
* Unmap IO request from the kernel virtual address space.
*/
void
-vunmapbuf(bp, len)
- struct buf *bp;
- vsize_t len;
+vunmapbuf(struct buf *bp, vsize_t len)
{
vaddr_t addr, off;