diff options
author | alfred <alfred@FreeBSD.org> | 2002-10-14 22:31:52 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-10-14 22:31:52 +0000 |
commit | 9693ff7295bc7cc16b9fbff25a11288b807d08ee (patch) | |
tree | 7af13e44af93cccd796d1cc59405dfdea469fb35 /sys/dev/dc | |
parent | 29308350edf8b43517d84c47aa1b91d5031b6e5d (diff) | |
download | FreeBSD-src-9693ff7295bc7cc16b9fbff25a11288b807d08ee.zip FreeBSD-src-9693ff7295bc7cc16b9fbff25a11288b807d08ee.tar.gz |
Put function return types on a line by themselves.
Cleanup my earlier de-__P sweep and remove whitespace between function
names and paramters.
Diffstat (limited to 'sys/dev/dc')
-rw-r--r-- | sys/dev/dc/dcphy.c | 10 | ||||
-rw-r--r-- | sys/dev/dc/pnphy.c | 10 |
2 files changed, 12 insertions, 8 deletions
diff --git a/sys/dev/dc/dcphy.c b/sys/dev/dc/dcphy.c index bf040e8..9081ff2 100644 --- a/sys/dev/dc/dcphy.c +++ b/sys/dev/dc/dcphy.c @@ -93,8 +93,8 @@ static const char rcsid[] = */ #define COMPAQ_PRESARIO_ID 0xb0bb0e11 -static int dcphy_probe (device_t); -static int dcphy_attach (device_t); +static int dcphy_probe(device_t); +static int dcphy_attach(device_t); static device_method_t dcphy_methods[] = { /* device interface */ @@ -120,7 +120,8 @@ static void dcphy_status(struct mii_softc *); static void dcphy_reset(struct mii_softc *); static int dcphy_auto(struct mii_softc *); -static int dcphy_probe(dev) +static int +dcphy_probe(dev) device_t dev; { struct mii_attach_args *ma; @@ -140,7 +141,8 @@ static int dcphy_probe(dev) return (0); } -static int dcphy_attach(dev) +static int +dcphy_attach(dev) device_t dev; { struct mii_softc *sc; diff --git a/sys/dev/dc/pnphy.c b/sys/dev/dc/pnphy.c index 9b1ec55..4a38b46 100644 --- a/sys/dev/dc/pnphy.c +++ b/sys/dev/dc/pnphy.c @@ -80,8 +80,8 @@ static const char rcsid[] = CSR_WRITE_4(sc, reg, \ CSR_READ_4(sc, reg) & ~x) -static int pnphy_probe (device_t); -static int pnphy_attach (device_t); +static int pnphy_probe(device_t); +static int pnphy_attach(device_t); static device_method_t pnphy_methods[] = { /* device interface */ @@ -105,7 +105,8 @@ DRIVER_MODULE(pnphy, miibus, pnphy_driver, pnphy_devclass, 0, 0); static int pnphy_service(struct mii_softc *, struct mii_data *, int); static void pnphy_status(struct mii_softc *); -static int pnphy_probe(dev) +static int +pnphy_probe(dev) device_t dev; { struct mii_attach_args *ma; @@ -125,7 +126,8 @@ static int pnphy_probe(dev) return (0); } -static int pnphy_attach(dev) +static int +pnphy_attach(dev) device_t dev; { struct mii_softc *sc; |