diff options
author | Warner Losh <imp@FreeBSD.org> | 2005-09-30 19:39:27 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2005-09-30 19:39:27 +0000 |
commit | 7d830ac9c2ad8d1031bd9d20cc5d976ac7eebd90 (patch) | |
tree | c545b1567d7ceed1e0dd597b18504c02fe5cec82 /sys/dev/mii/ukphy.c | |
parent | 0d507778989406c6d9c196ad9cb4a68b26ffd6fa (diff) | |
download | src-7d830ac9c2ad8d1031bd9d20cc5d976ac7eebd90.tar.gz src-7d830ac9c2ad8d1031bd9d20cc5d976ac7eebd90.zip |
Use ansi function definitions in preference to K&R to reduce diffs
with NetBSD (and cause it looks cooler).
Notes
Notes:
svn path=/head/; revision=150763
Diffstat (limited to 'sys/dev/mii/ukphy.c')
-rw-r--r-- | sys/dev/mii/ukphy.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/dev/mii/ukphy.c b/sys/dev/mii/ukphy.c index 2d87b565c241..6c078cc12cd2 100644 --- a/sys/dev/mii/ukphy.c +++ b/sys/dev/mii/ukphy.c @@ -114,8 +114,7 @@ DRIVER_MODULE(ukphy, miibus, ukphy_driver, ukphy_devclass, 0, 0); static int ukphy_service(struct mii_softc *, struct mii_data *, int); static int -ukphy_probe(dev) - device_t dev; +ukphy_probe(device_t dev) { /* @@ -126,8 +125,7 @@ ukphy_probe(dev) } static int -ukphy_attach(dev) - device_t dev; +ukphy_attach(device_t dev) { struct mii_softc *sc; struct mii_attach_args *ma; @@ -170,10 +168,7 @@ ukphy_attach(dev) } static int -ukphy_service(sc, mii, cmd) - struct mii_softc *sc; - struct mii_data *mii; - int cmd; +ukphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) { struct ifmedia_entry *ife = mii->mii_media.ifm_cur; int reg; |