diff options
author | phk <phk@FreeBSD.org> | 2002-09-28 17:15:38 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-09-28 17:15:38 +0000 |
commit | 1dfc2c167f0c0ee95c98088b2c05b50350b97ddb (patch) | |
tree | 072f805928e7e540a4d2c0a3a7ec37f7529204a0 /sys/dev/mii | |
parent | 523f5243860c40ec5c7a3e961080d6035dbcb435 (diff) | |
download | FreeBSD-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/mii')
-rw-r--r-- | sys/dev/mii/pnaphy.c | 2 | ||||
-rw-r--r-- | sys/dev/mii/rlphy.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/pnaphy.c b/sys/dev/mii/pnaphy.c index 4a51ca3..d29d6a5 100644 --- a/sys/dev/mii/pnaphy.c +++ b/sys/dev/mii/pnaphy.c @@ -159,7 +159,7 @@ pnaphy_attach(dev) return(0); } -int +static int pnaphy_service(sc, mii, cmd) struct mii_softc *sc; struct mii_data *mii; diff --git a/sys/dev/mii/rlphy.c b/sys/dev/mii/rlphy.c index fcf5538..7a18a96 100644 --- a/sys/dev/mii/rlphy.c +++ b/sys/dev/mii/rlphy.c @@ -250,7 +250,7 @@ rlphy_service(sc, mii, cmd) return (0); } -void +static void rlphy_status(phy) struct mii_softc *phy; { |