summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2008-04-27 01:49:29 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2008-04-27 01:49:29 +0000
commit60c4da1290d9babec8bf397b3ef5aa618341e709 (patch)
tree34cc10c5193a48649286a8b7e07251985eea3bdc /sys
parent0cf402d4f147d89efcc21f08c5d0ea7466a63647 (diff)
our attach functions dont return anything.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isa/com_isapnp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isa/com_isapnp.c b/sys/dev/isa/com_isapnp.c
index 1859c9c2338..a0c978b8c43 100644
--- a/sys/dev/isa/com_isapnp.c
+++ b/sys/dev/isa/com_isapnp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_isapnp.c,v 1.2 2003/06/02 23:28:02 millert Exp $ */
+/* $OpenBSD: com_isapnp.c,v 1.3 2008/04/27 01:49:28 dlg Exp $ */
/*
* Copyright (c) 1997 - 1999, Jason Downs. All rights reserved.
*
@@ -79,7 +79,7 @@ struct cfattach com_isapnp_ca = {
#endif
int com_isapnp_probe(struct device *, void *, void *);
-int com_isapnp_attach(struct device *, struct device *, void *);
+void com_isapnp_attach(struct device *, struct device *, void *);
int
com_isapnp_probe(struct device *parent, void *match, void *aux)
@@ -104,7 +104,7 @@ com_isapnp_probe(struct device *parent, void *match, void *aux)
return comprobe1(iot, ioh);
}
-int
+void
com_isapnp_attach(struct device *parent, struct device *self, void *aux)
{
struct com_softc *sc = (void *)self;