summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-09-28 17:15:38 +0000
committerphk <phk@FreeBSD.org>2002-09-28 17:15:38 +0000
commit1dfc2c167f0c0ee95c98088b2c05b50350b97ddb (patch)
tree072f805928e7e540a4d2c0a3a7ec37f7529204a0 /sys/dev/ed
parent523f5243860c40ec5c7a3e961080d6035dbcb435 (diff)
downloadFreeBSD-src-1dfc2c167f0c0ee95c98088b2c05b50350b97ddb.zip
FreeBSD-src-1dfc2c167f0c0ee95c98088b2c05b50350b97ddb.tar.gz
Be consistent about "static" functions: if the function is marked
static in its prototype, mark it static at the definition too. Inspired by: FlexeLint warning #512
Diffstat (limited to 'sys/dev/ed')
-rw-r--r--sys/dev/ed/if_ed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index 99b355a..d68da1e 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -1431,7 +1431,7 @@ ed_probe_HP_pclanp(dev, port_rid, flags)
* HP PC Lan+ : Set the physical link to use AUI or TP/TL.
*/
-void
+static void
ed_hpp_set_physical_link(struct ed_softc *sc)
{
struct ifnet *ifp = &sc->arpcom.ac_if;
@@ -3076,7 +3076,7 @@ ed_hpp_readmem(sc, src, dst, amount)
* Only used in the probe routine to test the memory. 'len' must
* be even.
*/
-void
+static void
ed_hpp_writemem(sc, src, dst, len)
struct ed_softc *sc;
unsigned char *src;
OpenPOWER on IntegriCloud