summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/rlphy.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-10-14 22:31:52 +0000
committeralfred <alfred@FreeBSD.org>2002-10-14 22:31:52 +0000
commit9693ff7295bc7cc16b9fbff25a11288b807d08ee (patch)
tree7af13e44af93cccd796d1cc59405dfdea469fb35 /sys/dev/mii/rlphy.c
parent29308350edf8b43517d84c47aa1b91d5031b6e5d (diff)
downloadFreeBSD-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/mii/rlphy.c')
-rw-r--r--sys/dev/mii/rlphy.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/mii/rlphy.c b/sys/dev/mii/rlphy.c
index 7a18a96..9df26eb 100644
--- a/sys/dev/mii/rlphy.c
+++ b/sys/dev/mii/rlphy.c
@@ -60,8 +60,8 @@ static const char rcsid[] =
"$FreeBSD$";
#endif
-static int rlphy_probe (device_t);
-static int rlphy_attach (device_t);
+static int rlphy_probe(device_t);
+static int rlphy_attach(device_t);
static device_method_t rlphy_methods[] = {
/* device interface */
@@ -85,7 +85,8 @@ DRIVER_MODULE(rlphy, miibus, rlphy_driver, rlphy_devclass, 0, 0);
static int rlphy_service(struct mii_softc *, struct mii_data *, int);
static void rlphy_status(struct mii_softc *);
-static int rlphy_probe(dev)
+static int
+rlphy_probe(dev)
device_t dev;
{
struct mii_attach_args *ma;
@@ -120,7 +121,8 @@ static int rlphy_probe(dev)
return (0);
}
-static int rlphy_attach(dev)
+static int
+rlphy_attach(dev)
device_t dev;
{
struct mii_softc *sc;
OpenPOWER on IntegriCloud