summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-01-15 17:51:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-01-15 17:51:43 +0000
commit792e04972192869571104444b733f8c257832a86 (patch)
tree61d67d7393dbd6f2086fc5591d434c6b85d348a3 /sys
parent1f3872eec56f3f5a5c2365a1ed7d946038024be1 (diff)
Provide explicit function argument declarations.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/process_machdep.c3
-rw-r--r--sys/dev/ic/ncr53c9x.c4
-rw-r--r--sys/dev/ic/siop_common.c3
-rw-r--r--sys/dev/ic/tcic2var.h4
-rw-r--r--sys/dev/isa/isavar.h3
-rw-r--r--sys/dev/isa/wdc_isa.c3
-rw-r--r--sys/netinet6/icmp6.c4
7 files changed, 15 insertions, 9 deletions
diff --git a/sys/arch/i386/i386/process_machdep.c b/sys/arch/i386/i386/process_machdep.c
index 89a9be57d23..7db97a757fd 100644
--- a/sys/arch/i386/i386/process_machdep.c
+++ b/sys/arch/i386/i386/process_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: process_machdep.c,v 1.12 2003/09/04 03:42:02 avsm Exp $ */
+/* $OpenBSD: process_machdep.c,v 1.13 2004/01/15 17:51:40 miod Exp $ */
/* $NetBSD: process_machdep.c,v 1.22 1996/05/03 19:42:25 christos Exp $ */
/*
@@ -247,6 +247,7 @@ process_write_fpregs(p, regs)
int
process_sstep(p, sstep)
struct proc *p;
+ int sstep;
{
struct trapframe *tf = process_frame(p);
diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c
index 54d78b9dd67..fbb978ddf08 100644
--- a/sys/dev/ic/ncr53c9x.c
+++ b/sys/dev/ic/ncr53c9x.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr53c9x.c,v 1.21 2003/10/21 18:58:49 jmc Exp $ */
+/* $OpenBSD: ncr53c9x.c,v 1.22 2004/01/15 17:51:42 miod Exp $ */
/* $NetBSD: ncr53c9x.c,v 1.56 2000/11/30 14:41:46 thorpej Exp $ */
/*
@@ -1290,6 +1290,8 @@ int
ncr53c9x_reselect(sc, message, tagtype, tagid)
struct ncr53c9x_softc *sc;
int message;
+ int tagtype;
+ int tagid;
{
u_char selid, target, lun;
struct ncr53c9x_ecb *ecb = NULL;
diff --git a/sys/dev/ic/siop_common.c b/sys/dev/ic/siop_common.c
index d20d81e4f61..df53eaab69a 100644
--- a/sys/dev/ic/siop_common.c
+++ b/sys/dev/ic/siop_common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: siop_common.c,v 1.18 2003/10/27 03:07:39 mickey Exp $ */
+/* $OpenBSD: siop_common.c,v 1.19 2004/01/15 17:51:42 miod Exp $ */
/* $NetBSD: siop_common.c,v 1.31 2002/09/27 15:37:18 provos Exp $ */
/*
@@ -674,6 +674,7 @@ void
siop_wdtr_msg(siop_cmd, offset, wide)
struct siop_common_cmd *siop_cmd;
int offset;
+ int wide;
{
siop_cmd->siop_tables->msg_out[offset + 0] = MSG_EXTENDED;
siop_cmd->siop_tables->msg_out[offset + 1] = MSG_EXT_WDTR_LEN;
diff --git a/sys/dev/ic/tcic2var.h b/sys/dev/ic/tcic2var.h
index 0c8c9159c48..fa5e77af6c8 100644
--- a/sys/dev/ic/tcic2var.h
+++ b/sys/dev/ic/tcic2var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcic2var.h,v 1.2 2002/03/14 01:26:55 millert Exp $ */
+/* $OpenBSD: tcic2var.h,v 1.3 2004/01/15 17:51:42 miod Exp $ */
/* $NetBSD: tcic2var.h,v 1.1 1999/03/23 20:04:14 bad Exp $ */
/*
@@ -307,7 +307,7 @@ static __inline__ int
tcic_read_aux_1(iot, ioh, auxreg, reg)
bus_space_tag_t iot;
bus_space_handle_t ioh;
- int auxreg;
+ int auxreg, reg;
{
int mode, val;
mode = bus_space_read_1(iot, ioh, TCIC_R_MODE);
diff --git a/sys/dev/isa/isavar.h b/sys/dev/isa/isavar.h
index 3236c80d2ce..2289499bdb2 100644
--- a/sys/dev/isa/isavar.h
+++ b/sys/dev/isa/isavar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: isavar.h,v 1.46 2003/12/12 22:56:46 hshoexer Exp $ */
+/* $OpenBSD: isavar.h,v 1.47 2004/01/15 17:51:42 miod Exp $ */
/* $NetBSD: isavar.h,v 1.26 1997/06/06 23:43:57 thorpej Exp $ */
/*-
@@ -442,6 +442,7 @@ isapnp_write_reg(sc, r, v)
static __inline u_char
isapnp_read_reg(sc, r)
struct isapnp_softc *sc;
+ int r;
{
ISAPNP_WRITE_ADDR(sc, r);
return ISAPNP_READ_DATA(sc);
diff --git a/sys/dev/isa/wdc_isa.c b/sys/dev/isa/wdc_isa.c
index 6c0a62e9fc3..74bb8a8c4e3 100644
--- a/sys/dev/isa/wdc_isa.c
+++ b/sys/dev/isa/wdc_isa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdc_isa.c,v 1.10 2003/10/17 08:14:09 grange Exp $ */
+/* $OpenBSD: wdc_isa.c,v 1.11 2004/01/15 17:51:42 miod Exp $ */
/* $NetBSD: wdc_isa.c,v 1.15 1999/05/19 14:41:25 bouyer Exp $ */
/*-
@@ -225,6 +225,7 @@ wdc_isa_dma_setup(sc)
static int
wdc_isa_dma_init(v, channel, drive, databuf, datalen, read)
void *v;
+ int channel, drive;
void *databuf;
size_t datalen;
int read;
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c
index 64e36b19772..47c00f6411a 100644
--- a/sys/netinet6/icmp6.c
+++ b/sys/netinet6/icmp6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: icmp6.c,v 1.76 2003/12/21 14:57:19 markus Exp $ */
+/* $OpenBSD: icmp6.c,v 1.77 2004/01/15 17:51:42 miod Exp $ */
/* $KAME: icmp6.c,v 1.217 2001/06/20 15:03:29 jinmei Exp $ */
/*
@@ -885,7 +885,7 @@ icmp6_input(mp, offp, proto)
static int
icmp6_notify_error(m, off, icmp6len, code)
struct mbuf *m;
- int off, icmp6len;
+ int off, icmp6len, code;
{
struct icmp6_hdr *icmp6;
struct ip6_hdr *eip6;