Explicitly declare 'int' parameters.
This commit is contained in:
parent
bba483a33a
commit
43cb95182e
@ -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) {
|
||||
/*
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user