From c9c14d15b4a8b619e42160d46ef143141c816d35 Mon Sep 17 00:00:00 2001 From: mjacob Date: Sat, 29 Jan 2000 16:39:21 +0000 Subject: [PATCH] Clean up some compilation warnings and errors. --- sys/alpha/tlsb/zs_tlsb.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/sys/alpha/tlsb/zs_tlsb.c b/sys/alpha/tlsb/zs_tlsb.c index 7a881b43b8a6..69a7aa88cd3f 100644 --- a/sys/alpha/tlsb/zs_tlsb.c +++ b/sys/alpha/tlsb/zs_tlsb.c @@ -97,7 +97,7 @@ void zs_cnputc __P((dev_t, int)); static void zs_cnpollc __P((dev_t, int)); struct consdev zs_cons = { - NULL, NULL, zs_cngetc, NULL, zs_cnputc, + NULL, NULL, NULL, zs_cngetc, NULL, zs_cnputc, NULL, 0, CN_NORMAL, }; @@ -114,14 +114,11 @@ static device_method_t zs_methods[] = { /* Device interface */ DEVMETHOD(device_probe, zs_probe), DEVMETHOD(device_attach, zs_attach), - { 0, 0 } }; static driver_t zs_driver = { - "zs", - zs_methods, - sizeof(struct zs_softc), + "zs", zs_methods, sizeof (struct zs_softc), }; static int @@ -212,8 +209,6 @@ zs_putc(caddr_t base, int chan, int c) zs_put_data(base, chan, c); } -extern struct consdev* cn_tab; - int zs_cnattach(vm_offset_t base, vm_offset_t offset) { @@ -242,11 +237,6 @@ zs_cnputc(dev_t dev, int c) splx(s); } -static void -zs_cnpollc(dev_t dev, int onoff) -{ -} - static int zsopen(dev_t dev, int flag, int mode, struct proc *p) @@ -441,7 +431,6 @@ zsc_tlsb_attach(device_t dev) { struct zsc_softc* sc = device_get_softc(dev); device_t parent = device_get_parent(dev); - void *ih; cdevsw_add(&zs_cdevsw);