summaryrefslogtreecommitdiff
path: root/sys/arch/vax/stand/boot/ctu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/vax/stand/boot/ctu.c')
-rw-r--r--sys/arch/vax/stand/boot/ctu.c21
1 files changed, 6 insertions, 15 deletions
diff --git a/sys/arch/vax/stand/boot/ctu.c b/sys/arch/vax/stand/boot/ctu.c
index b8a9b863faf..a10824dcf85 100644
--- a/sys/arch/vax/stand/boot/ctu.c
+++ b/sys/arch/vax/stand/boot/ctu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ctu.c,v 1.3 2002/06/11 09:36:23 hugh Exp $ */
+/* $OpenBSD: ctu.c,v 1.4 2003/08/15 23:16:30 deraadt Exp $ */
/* $NetBSD: ctu.c,v 1.3 2000/05/20 13:30:03 ragge Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
@@ -67,9 +67,7 @@ void ctutintr(void);
void cturintr(void);
int
-ctuopen(f, adapt, ctlr, unit, part)
- struct open_file *f;
- int ctlr, unit, part;
+ctuopen(struct open_file *f, int adapt, int ctlr, int unit, int part)
{
tu_sc.sc_state = SC_INIT;
@@ -82,12 +80,7 @@ ctuopen(f, adapt, ctlr, unit, part)
}
int
-ctustrategy(f, func, dblk, size, buf, rsize)
- void *f;
- int func;
- daddr_t dblk;
- void *buf;
- size_t size, *rsize;
+ctustrategy(void *f, int func, daddr_t dblk, size_t size, void *buf, size_t *rsize)
{
struct rsp *rsp = (struct rsp *)tu_sc.sc_rsp;
@@ -114,7 +107,7 @@ ctustrategy(f, func, dblk, size, buf, rsize)
}
void
-cturintr()
+cturintr(void)
{
int status;
@@ -154,7 +147,7 @@ cturintr()
}
void
-ctutintr()
+ctutintr(void)
{
int c;
@@ -170,9 +163,7 @@ ctutintr()
}
short
-ctu_cksum(buf, words)
- unsigned short *buf;
- int words;
+ctu_cksum(unsigned short *buf, int words)
{
int i, cksum;