From 2c876e15c8f3df59d31ca4bc49a7998df5467085 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Wed, 16 Oct 2002 09:04:52 +0000 Subject: Be consistent about functions being static. Spotted by: FlexeLint. --- sys/dev/amd/amd.c | 4 ++-- sys/dev/dc/if_dc.c | 14 ++++++++------ sys/dev/ti/if_ti.c | 4 ++-- 3 files changed, 12 insertions(+), 10 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/amd/amd.c b/sys/dev/amd/amd.c index 50893714d522..049acc628a6c 100644 --- a/sys/dev/amd/amd.c +++ b/sys/dev/amd/amd.c @@ -2108,7 +2108,7 @@ amd_linkSRB(struct amd_softc *amd) } } -void +static void amd_EnDisableCE(struct amd_softc *amd, int mode, int *regval) { if (mode == ENABLE_CE) { @@ -2123,7 +2123,7 @@ amd_EnDisableCE(struct amd_softc *amd, int mode, int *regval) DELAY(160); } -void +static void amd_EEpromOutDI(struct amd_softc *amd, int *regval, int Carry) { u_int bval; diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c index 1f2923b29d9a..0617e473100c 100644 --- a/sys/dev/dc/if_dc.c +++ b/sys/dev/dc/if_dc.c @@ -332,7 +332,8 @@ dc_delay(sc) CSR_READ_4(sc, DC_BUSCTL); } -void dc_eeprom_width(sc) +static void +dc_eeprom_width(sc) struct dc_softc *sc; { int i; @@ -1126,7 +1127,7 @@ dc_crc_be(addr) * frames. We also sneak the broadcast address into the hash filter since * we need that too. */ -void +static void dc_setfilt_21143(sc) struct dc_softc *sc; { @@ -1196,7 +1197,7 @@ dc_setfilt_21143(sc) return; } -void +static void dc_setfilt_admtek(sc) struct dc_softc *sc; { @@ -1250,7 +1251,7 @@ dc_setfilt_admtek(sc) return; } -void +static void dc_setfilt_asix(sc) struct dc_softc *sc; { @@ -1321,7 +1322,7 @@ dc_setfilt_asix(sc) return; } -void +static void dc_setfilt_xircom(sc) struct dc_softc *sc; { @@ -1836,7 +1837,8 @@ dc_decode_leaf_mii(sc, l) return; } -void dc_read_srom(sc, bits) +static void +dc_read_srom(sc, bits) struct dc_softc *sc; int bits; { diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index 0cd484315984..b91f5cb2daaf 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -1554,7 +1554,7 @@ ti_init_tx_ring(sc) * but we have to support the old way too so that Tigon 1 cards will * work. */ -void +static void ti_add_mcast(sc, addr) struct ti_softc *sc; struct ether_addr *addr; @@ -1584,7 +1584,7 @@ ti_add_mcast(sc, addr) return; } -void +static void ti_del_mcast(sc, addr) struct ti_softc *sc; struct ether_addr *addr; -- cgit v1.3