diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-02-12 18:01:09 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-02-12 18:01:09 +0000 |
commit | 31d28caac4c32ed9c5a3bff2fd1aef8fb1d4f162 (patch) | |
tree | b075fd2465bdebadf29104cb939d25e176890103 /sys/arch/hp300 | |
parent | 1b5ccdd77751152d2270e7d0ef37a2f5ca8a654a (diff) |
Use cons_decl() instead of rolling our own prototypes.
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r-- | sys/arch/hp300/dev/apci.c | 8 | ||||
-rw-r--r-- | sys/arch/hp300/dev/dca.c | 7 | ||||
-rw-r--r-- | sys/arch/hp300/dev/dcm.c | 7 |
3 files changed, 6 insertions, 16 deletions
diff --git a/sys/arch/hp300/dev/apci.c b/sys/arch/hp300/dev/apci.c index b979db27483..796883e3ae3 100644 --- a/sys/arch/hp300/dev/apci.c +++ b/sys/arch/hp300/dev/apci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apci.c,v 1.18 2005/01/15 21:13:08 miod Exp $ */ +/* $OpenBSD: apci.c,v 1.19 2005/02/12 18:01:08 miod Exp $ */ /* $NetBSD: apci.c,v 1.9 2000/11/02 00:35:05 eeh Exp $ */ /*- @@ -194,11 +194,7 @@ struct apciregs *apci_cn = NULL; /* console hardware */ int apciconsinit; /* has been initialized */ int apcimajor; /* our major number */ -void apcicnprobe(struct consdev *); -void apcicninit(struct consdev *); -int apcicngetc(dev_t); -void apcicnputc(dev_t, int); - +cons_decl(apci); int apcimatch(parent, match, aux) diff --git a/sys/arch/hp300/dev/dca.c b/sys/arch/hp300/dev/dca.c index c71a866233b..dd56bbe17ae 100644 --- a/sys/arch/hp300/dev/dca.c +++ b/sys/arch/hp300/dev/dca.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dca.c,v 1.23 2005/01/15 21:08:36 miod Exp $ */ +/* $OpenBSD: dca.c,v 1.24 2005/02/12 18:01:08 miod Exp $ */ /* $NetBSD: dca.c,v 1.35 1997/05/05 20:58:18 thorpej Exp $ */ /* @@ -119,10 +119,7 @@ int dcamctl(struct dca_softc *, int, int); void dcainit(struct dcadevice *, int); int dca_console_scan(int, caddr_t, void *); -void dcacnprobe(struct consdev *); -void dcacninit(struct consdev *); -int dcacngetc(dev_t); -void dcacnputc(dev_t, int); +cons_decl(dca); /* * Stuff for DCA console support. diff --git a/sys/arch/hp300/dev/dcm.c b/sys/arch/hp300/dev/dcm.c index c69f664ab9f..88042734066 100644 --- a/sys/arch/hp300/dev/dcm.c +++ b/sys/arch/hp300/dev/dcm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dcm.c,v 1.22 2005/01/15 21:08:36 miod Exp $ */ +/* $OpenBSD: dcm.c,v 1.23 2005/02/12 18:01:08 miod Exp $ */ /* $NetBSD: dcm.c,v 1.41 1997/05/05 20:59:16 thorpej Exp $ */ /* @@ -266,10 +266,7 @@ void dcminit(struct dcmdevice *, int, int); int dcmselftest(struct dcm_softc *); int dcm_console_scan(int, caddr_t, void *); -void dcmcnprobe(struct consdev *); -void dcmcninit(struct consdev *); -int dcmcngetc(dev_t); -void dcmcnputc(dev_t, int); +cons_decl(dcm); int dcmmatch(struct device *, void *, void *); void dcmattach(struct device *, struct device *, void *); |