tty XXstart() routines return void
This commit is contained in:
parent
a14da75496
commit
9aed375ba3
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)dca.c 7.12 (Berkeley) 6/27/91
|
||||
* $Id: dca.c,v 1.8 1993/07/12 11:38:03 mycroft Exp $
|
||||
* $Id: dca.c,v 1.9 1993/08/29 13:46:31 deraadt Exp $
|
||||
*/
|
||||
|
||||
#include "dca.h"
|
||||
@ -61,7 +61,8 @@ struct driver dcadriver = {
|
||||
dcaprobe, "dca",
|
||||
};
|
||||
|
||||
int dcastart(), dcaparam(), dcaintr();
|
||||
void dcastart();
|
||||
int dcaparam(), dcaintr();
|
||||
int dcasoftCAR;
|
||||
int dca_active;
|
||||
int dca_hasfifo;
|
||||
@ -538,6 +539,7 @@ dcaparam(tp, t)
|
||||
return (0);
|
||||
}
|
||||
|
||||
void
|
||||
dcastart(tp)
|
||||
register struct tty *tp;
|
||||
{
|
||||
|
@ -37,7 +37,7 @@
|
||||
*
|
||||
* from: Utah Hdr: dcm.c 1.26 91/01/21
|
||||
* from: @(#)dcm.c 7.14 (Berkeley) 6/27/91
|
||||
* $Id: dcm.c,v 1.8 1993/08/01 19:23:58 mycroft Exp $
|
||||
* $Id: dcm.c,v 1.9 1993/08/29 13:46:32 deraadt Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -73,7 +73,8 @@
|
||||
#endif
|
||||
|
||||
int ttrstrt();
|
||||
int dcmprobe(), dcmstart(), dcmintr(), dcmparam();
|
||||
int dcmprobe(), dcmintr(), dcmparam();
|
||||
void dcmstart();
|
||||
|
||||
struct driver dcmdriver = {
|
||||
dcmprobe, "dcm",
|
||||
@ -875,6 +876,7 @@ dcmparam(tp, t)
|
||||
return (0);
|
||||
}
|
||||
|
||||
void
|
||||
dcmstart(tp)
|
||||
register struct tty *tp;
|
||||
{
|
||||
|
@ -37,7 +37,7 @@
|
||||
*
|
||||
* from: Utah Hdr: ite.c 1.1 90/07/09
|
||||
* from: @(#)ite.c 7.6 (Berkeley) 5/16/91
|
||||
* $Id: ite.c,v 1.11 1993/08/08 03:35:26 mycroft Exp $
|
||||
* $Id: ite.c,v 1.12 1993/08/29 13:46:34 deraadt Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -109,7 +109,7 @@ struct tty *ite_tty[NITE];
|
||||
struct ite_softc *kbd_ite = NULL;
|
||||
struct ite_softc ite_softc[NITE];
|
||||
|
||||
int itestart();
|
||||
void itestart();
|
||||
extern int ttrstrt();
|
||||
extern struct tty *constty;
|
||||
|
||||
@ -308,6 +308,7 @@ iteioctl(dev, cmd, addr, flag)
|
||||
return (ENOTTY);
|
||||
}
|
||||
|
||||
void
|
||||
itestart(tp)
|
||||
register struct tty *tp;
|
||||
{
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: com.c,v 1.11 1993/07/12 11:37:16 mycroft Exp $
|
||||
* $Id: com.c,v 1.12 1993/08/29 13:47:03 deraadt Exp $
|
||||
*/
|
||||
|
||||
#include "com.h"
|
||||
@ -59,7 +59,8 @@
|
||||
#include "i386/isa/ic/ns16550.h"
|
||||
#define cominor(d)
|
||||
|
||||
int comprobe(), comattach(), comintr(), comstart(), comparam();
|
||||
int comprobe(), comattach(), comintr(), comparam();
|
||||
void comstart();
|
||||
|
||||
struct isa_driver comdriver = {
|
||||
comprobe, comattach, "com"
|
||||
@ -517,6 +518,7 @@ comparam(tp, t)
|
||||
return(0);
|
||||
}
|
||||
|
||||
void
|
||||
comstart(tp)
|
||||
register struct tty *tp;
|
||||
{
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)pccons.c 5.11 (Berkeley) 5/21/91
|
||||
* $Id: pccons.c,v 1.28 1993/07/12 11:37:17 mycroft Exp $
|
||||
* $Id: pccons.c,v 1.29 1993/08/29 13:47:05 deraadt Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -144,7 +144,7 @@ static int char_count;
|
||||
#define CN_TIMERVAL (hz) /* frequency at which to check cons */
|
||||
#define CN_TIMO (2*60) /* intervals to allow for output char */
|
||||
|
||||
int pcstart();
|
||||
void pcstart();
|
||||
int pcparam();
|
||||
int ttrstrt();
|
||||
char partab[];
|
||||
@ -455,6 +455,7 @@ pcxint(dev)
|
||||
pcstart(tp);
|
||||
}
|
||||
|
||||
void
|
||||
pcstart(tp)
|
||||
register struct tty *tp;
|
||||
{
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: com.c,v 1.11 1993/07/12 11:37:16 mycroft Exp $
|
||||
* $Id: com.c,v 1.12 1993/08/29 13:47:03 deraadt Exp $
|
||||
*/
|
||||
|
||||
#include "com.h"
|
||||
@ -59,7 +59,8 @@
|
||||
#include "i386/isa/ic/ns16550.h"
|
||||
#define cominor(d)
|
||||
|
||||
int comprobe(), comattach(), comintr(), comstart(), comparam();
|
||||
int comprobe(), comattach(), comintr(), comparam();
|
||||
void comstart();
|
||||
|
||||
struct isa_driver comdriver = {
|
||||
comprobe, comattach, "com"
|
||||
@ -517,6 +518,7 @@ comparam(tp, t)
|
||||
return(0);
|
||||
}
|
||||
|
||||
void
|
||||
comstart(tp)
|
||||
register struct tty *tp;
|
||||
{
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: com.c,v 1.11 1993/07/12 11:37:16 mycroft Exp $
|
||||
* $Id: com.c,v 1.12 1993/08/29 13:47:03 deraadt Exp $
|
||||
*/
|
||||
|
||||
#include "com.h"
|
||||
@ -59,7 +59,8 @@
|
||||
#include "i386/isa/ic/ns16550.h"
|
||||
#define cominor(d)
|
||||
|
||||
int comprobe(), comattach(), comintr(), comstart(), comparam();
|
||||
int comprobe(), comattach(), comintr(), comparam();
|
||||
void comstart();
|
||||
|
||||
struct isa_driver comdriver = {
|
||||
comprobe, comattach, "com"
|
||||
@ -517,6 +518,7 @@ comparam(tp, t)
|
||||
return(0);
|
||||
}
|
||||
|
||||
void
|
||||
comstart(tp)
|
||||
register struct tty *tp;
|
||||
{
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)tty_pty.c 7.21 (Berkeley) 5/30/91
|
||||
* $Id: tty_pty.c,v 1.11 1993/07/19 05:52:32 mycroft Exp $
|
||||
* $Id: tty_pty.c,v 1.12 1993/08/29 13:47:47 deraadt Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -221,20 +221,20 @@ ptswrite(dev, uio, flag)
|
||||
* Start output on pseudo-tty.
|
||||
* Wake up process selecting or sleeping for input from controlling tty.
|
||||
*/
|
||||
int
|
||||
void
|
||||
ptsstart(tp)
|
||||
struct tty *tp;
|
||||
{
|
||||
register struct pt_ioctl *pti = &pt_ioctl[minor(tp->t_dev)];
|
||||
|
||||
if (tp->t_state & TS_TTSTOP)
|
||||
return 0; /* XXX should we return 1? */
|
||||
return;
|
||||
if (pti->pt_flags & PF_STOPPED) {
|
||||
pti->pt_flags &= ~PF_STOPPED;
|
||||
pti->pt_send = TIOCPKT_START;
|
||||
}
|
||||
ptcwakeup(tp, FREAD);
|
||||
return 0;
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -1 +1 @@
|
||||
revision 1.11 intentionally removed
|
||||
revision 1.12 intentionally removed
|
||||
|
Loading…
Reference in New Issue
Block a user