diff options
author | imp <imp@FreeBSD.org> | 2005-09-30 19:39:27 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-09-30 19:39:27 +0000 |
commit | 3c83a9762a1de398e272a7b7f41727b46006549d (patch) | |
tree | c545b1567d7ceed1e0dd597b18504c02fe5cec82 /sys/dev/mii/acphy.c | |
parent | 6d33aff6dae5c484c4e00cb127bfca95ca2aeeaa (diff) | |
download | FreeBSD-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/acphy.c')
-rw-r--r-- | sys/dev/mii/acphy.c | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/sys/dev/mii/acphy.c b/sys/dev/mii/acphy.c index aba0b26..176e392 100644 --- a/sys/dev/mii/acphy.c +++ b/sys/dev/mii/acphy.c @@ -117,8 +117,7 @@ static void acphy_reset(struct mii_softc *); static void acphy_status(struct mii_softc *); static int -acphy_probe(dev) - device_t dev; +acphy_probe(device_t dev) { struct mii_attach_args *ma; @@ -137,8 +136,7 @@ acphy_probe(dev) } static int -acphy_attach(dev) - device_t dev; +acphy_attach(device_t dev) { struct mii_softc *sc; struct mii_attach_args *ma; @@ -171,10 +169,7 @@ acphy_attach(dev) } static int -acphy_service(sc, mii, cmd) - struct mii_softc *sc; - struct mii_data *mii; - int cmd; +acphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) { struct ifmedia_entry *ife = mii->mii_media.ifm_cur; int reg; @@ -257,8 +252,7 @@ acphy_service(sc, mii, cmd) } static void -acphy_status(sc) - struct mii_softc *sc; +acphy_status(struct mii_softc *sc) { struct mii_data *mii = sc->mii_pdata; struct ifmedia_entry *ife = mii->mii_media.ifm_cur; @@ -301,8 +295,7 @@ acphy_status(sc) } static void -acphy_reset(sc) - struct mii_softc *sc; +acphy_reset(struct mii_softc *sc) { mii_phy_reset(sc); |