summaryrefslogtreecommitdiffstats
path: root/sys/dev/snc/if_snc_cbus.c
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2012-11-10 14:58:06 +0000
committernyan <nyan@FreeBSD.org>2012-11-10 14:58:06 +0000
commitb9fc6a077df7a6a8cec47e6be71b7c4fdcf4e98a (patch)
tree7fe0a3d57f503d604b175ef8b6e3d7bec4e5c305 /sys/dev/snc/if_snc_cbus.c
parentf210fef635c9ecc2c50ec6aefd807b816f91eca6 (diff)
downloadFreeBSD-src-b9fc6a077df7a6a8cec47e6be71b7c4fdcf4e98a.zip
FreeBSD-src-b9fc6a077df7a6a8cec47e6be71b7c4fdcf4e98a.tar.gz
Use ANSI prototype to fix build with clang.
MFC after: 1 week
Diffstat (limited to 'sys/dev/snc/if_snc_cbus.c')
-rw-r--r--sys/dev/snc/if_snc_cbus.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/snc/if_snc_cbus.c b/sys/dev/snc/if_snc_cbus.c
index e859b7a..c3c7946 100644
--- a/sys/dev/snc/if_snc_cbus.c
+++ b/sys/dev/snc/if_snc_cbus.c
@@ -68,8 +68,7 @@ static struct isa_pnp_id snc_ids[] = {
};
static void
-snc_isapnp_reconfig(dev)
- device_t dev;
+snc_isapnp_reconfig(device_t dev)
{
struct isa_device *idev = DEVTOISA(dev);
struct isa_config config;
@@ -111,8 +110,7 @@ snc_isapnp_reconfig(dev)
}
static int
-snc_isa_probe(dev)
- device_t dev;
+snc_isa_probe(device_t dev)
{
struct snc_softc *sc = device_get_softc(dev);
int type;
@@ -177,8 +175,7 @@ snc_isa_probe(dev)
}
static int
-snc_isa_attach(dev)
- device_t dev;
+snc_isa_attach(device_t dev)
{
struct snc_softc *sc = device_get_softc(dev);
OpenPOWER on IntegriCloud