Explicitly declare 'int' parameters.

This commit is contained in:
obrien 2003-04-21 16:27:46 +00:00
parent bba483a33a
commit 43cb95182e
7 changed files with 8 additions and 1 deletions

View File

@ -1141,6 +1141,7 @@ static int fr_matchicmpqueryreply(v, is, icmp, rev)
int v;
ipstate_t *is;
icmphdr_t *icmp;
int rev;
{
if (v == 4) {
/*

View File

@ -438,6 +438,7 @@ void am79c930_regdump (sc)
void am79c930_chip_init (sc, how)
struct am79c930_softc *sc;
int how;
{
/* zero the bank select register, and leave it that way.. */
bus_space_write_1(sc->sc_iot, sc->sc_ioh, AM79C930_BSS, 0);

View File

@ -110,6 +110,7 @@ int eni_pdu_print = 0;
int
eni_set_dma ( eup, rx, dma_list, list_size, idx, val, addr, size )
Eni_unit *eup;
int rx;
u_long *dma_list;
int list_size;
long *idx;

View File

@ -2364,6 +2364,7 @@ tcp_dooptions(to, cp, cnt, is_syn)
struct tcpopt *to;
u_char *cp;
int cnt;
int is_syn;
{
int opt, optlen;

View File

@ -2364,6 +2364,7 @@ tcp_dooptions(to, cp, cnt, is_syn)
struct tcpopt *to;
u_char *cp;
int cnt;
int is_syn;
{
int opt, optlen;

View File

@ -874,7 +874,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;

View File

@ -213,6 +213,7 @@ static void
pcn_csr_write(sc, reg, val)
struct pcn_softc *sc;
int reg;
int val;
{
CSR_WRITE_4(sc, PCN_IO32_RAP, reg);
CSR_WRITE_4(sc, PCN_IO32_RDP, val);
@ -241,6 +242,7 @@ static void
pcn_bcr_write(sc, reg, val)
struct pcn_softc *sc;
int reg;
int val;
{
CSR_WRITE_4(sc, PCN_IO32_RAP, reg);
CSR_WRITE_4(sc, PCN_IO32_BDP, val);