diff options
author | Mats O Jansson <maja@cvs.openbsd.org> | 1997-01-15 23:25:34 +0000 |
---|---|---|
committer | Mats O Jansson <maja@cvs.openbsd.org> | 1997-01-15 23:25:34 +0000 |
commit | bf6413046b73005ecca3f5352c8711d00a6d00b9 (patch) | |
tree | fcd2c64f80b1be68d962f84a1e34da0a02d5385f /sys/arch/vax/uba/dz.c | |
parent | 957078809571dbe61aac81705145fa4cee6bfda8 (diff) |
sync with NetBSD 970112 -moj
Diffstat (limited to 'sys/arch/vax/uba/dz.c')
-rw-r--r-- | sys/arch/vax/uba/dz.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/arch/vax/uba/dz.c b/sys/arch/vax/uba/dz.c index f1636b7f3ef..bc583be03c1 100644 --- a/sys/arch/vax/uba/dz.c +++ b/sys/arch/vax/uba/dz.c @@ -1,4 +1,4 @@ -/* $NetBSD: dz.c,v 1.1 1996/04/08 17:22:20 ragge Exp $ */ +/* $NetBSD: dz.c,v 1.4 1996/10/13 03:35:15 christos Exp $ */ /* * Copyright (c) 1996 Ken C. Wellsch. All rights reserved. * Copyright (c) 1992, 1993 @@ -121,7 +121,7 @@ struct tty * dztty __P((dev_t)); int dzread __P((dev_t, struct uio *, int)); int dzwrite __P((dev_t, struct uio *, int)); int dzioctl __P((dev_t, int, caddr_t, int, struct proc *)); - int dzstop __P((struct tty *, int)); + void dzstop __P((struct tty *, int)); struct cfdriver dz_cd = { NULL, "dz", DV_TTY @@ -547,8 +547,8 @@ dztty (dev) } /*ARGSUSED*/ -int -dzstop (tp, flag) +void +dzstop(tp, flag) register struct tty *tp; { register struct dz_softc *sc; @@ -560,14 +560,12 @@ dzstop (tp, flag) s = spltty(); - if (tp->t_state & TS_BUSY) - { + if (tp->t_state & TS_BUSY) { sc->sc_dz[line].dz_end = sc->sc_dz[line].dz_mem; if (!(tp->t_state & TS_TTSTOP)) tp->t_state |= TS_FLUSH; } (void) splx(s); - return 0; } static void |