summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2010-11-22 21:09:32 +0000
committermiod <miod@openbsd.org>2010-11-22 21:09:32 +0000
commit76dff252fd9bfd9b4cf710f27a8a467d5f5feb73 (patch)
treed545e40b252a811c2aa22afc2d10fd4d7088c70f
parentRemove bus_space_probe prototype, this function is not implemented. (diff)
downloadwireguard-openbsd-76dff252fd9bfd9b4cf710f27a8a467d5f5feb73.tar.xz
wireguard-openbsd-76dff252fd9bfd9b4cf710f27a8a467d5f5feb73.zip
Use cons_decl() to get console routine prototypes, instead of rolling our own.
-rw-r--r--sys/arch/macppc/dev/zs.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/macppc/dev/zs.c b/sys/arch/macppc/dev/zs.c
index 45e6c79477c..26fe41e94e5 100644
--- a/sys/arch/macppc/dev/zs.c
+++ b/sys/arch/macppc/dev/zs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs.c,v 1.19 2010/04/09 17:01:30 jasper Exp $ */
+/* $OpenBSD: zs.c,v 1.20 2010/11/22 21:09:32 miod Exp $ */
/* $NetBSD: zs.c,v 1.17 2001/06/19 13:42:15 wiz Exp $ */
/*
@@ -175,11 +175,7 @@ void zssoft(void *);
int zs_txdma_int(void *);
#endif
-void zscnprobe(struct consdev *);
-void zscninit(struct consdev *);
-int zscngetc(dev_t);
-void zscnputc(dev_t, int);
-void zscnpollc(dev_t, int);
+cons_decl(zs);
/*
* Is the zs chip present?