summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/exphy.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-09-30 19:39:27 +0000
committerimp <imp@FreeBSD.org>2005-09-30 19:39:27 +0000
commit3c83a9762a1de398e272a7b7f41727b46006549d (patch)
treec545b1567d7ceed1e0dd597b18504c02fe5cec82 /sys/dev/mii/exphy.c
parent6d33aff6dae5c484c4e00cb127bfca95ca2aeeaa (diff)
downloadFreeBSD-src-3c83a9762a1de398e272a7b7f41727b46006549d.zip
FreeBSD-src-3c83a9762a1de398e272a7b7f41727b46006549d.tar.gz
Use ansi function definitions in preference to K&R to reduce diffs
with NetBSD (and cause it looks cooler).
Diffstat (limited to 'sys/dev/mii/exphy.c')
-rw-r--r--sys/dev/mii/exphy.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/dev/mii/exphy.c b/sys/dev/mii/exphy.c
index afb9013..61121a6 100644
--- a/sys/dev/mii/exphy.c
+++ b/sys/dev/mii/exphy.c
@@ -115,8 +115,7 @@ static int exphy_service(struct mii_softc *, struct mii_data *, int);
static void exphy_reset(struct mii_softc *);
static int
-exphy_probe(dev)
- device_t dev;
+exphy_probe(device_t dev)
{
struct mii_attach_args *ma;
device_t parent;
@@ -148,8 +147,7 @@ exphy_probe(dev)
}
static int
-exphy_attach(dev)
- device_t dev;
+exphy_attach(device_t dev)
{
struct mii_softc *sc;
struct mii_attach_args *ma;
@@ -202,10 +200,7 @@ exphy_attach(dev)
}
static int
-exphy_service(sc, mii, cmd)
- struct mii_softc *sc;
- struct mii_data *mii;
- int cmd;
+exphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
{
struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
OpenPOWER on IntegriCloud