Remove double-blank lines (Al)
This commit is contained in:
@@ -151,7 +151,6 @@ PUBLIC timer_t *tty_timers; /* queue of TTY timers */
|
||||
PUBLIC clock_t tty_next_timeout; /* time that the next alarm is due */
|
||||
PUBLIC struct machine machine; /* kernel environment variables */
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* tty_task *
|
||||
*===========================================================================*/
|
||||
@@ -289,7 +288,6 @@ PUBLIC void main(void)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* do_status *
|
||||
*===========================================================================*/
|
||||
@@ -359,7 +357,6 @@ message *m_ptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* do_read *
|
||||
*===========================================================================*/
|
||||
@@ -436,7 +433,6 @@ register message *m_ptr; /* pointer to message sent to the task */
|
||||
select_retry(tp);
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* do_write *
|
||||
*===========================================================================*/
|
||||
@@ -487,7 +483,6 @@ register message *m_ptr; /* pointer to message sent to the task */
|
||||
tty_reply(TASK_REPLY, m_ptr->m_source, m_ptr->PROC_NR, r);
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* do_ioctl *
|
||||
*===========================================================================*/
|
||||
@@ -703,7 +698,6 @@ message *m_ptr; /* pointer to message sent to task */
|
||||
tty_reply(TASK_REPLY, m_ptr->m_source, m_ptr->PROC_NR, r);
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* do_open *
|
||||
*===========================================================================*/
|
||||
@@ -730,7 +724,6 @@ message *m_ptr; /* pointer to message sent to task */
|
||||
tty_reply(TASK_REPLY, m_ptr->m_source, m_ptr->PROC_NR, r);
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* do_close *
|
||||
*===========================================================================*/
|
||||
@@ -752,7 +745,6 @@ message *m_ptr; /* pointer to message sent to task */
|
||||
tty_reply(TASK_REPLY, m_ptr->m_source, m_ptr->PROC_NR, OK);
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* do_cancel *
|
||||
*===========================================================================*/
|
||||
@@ -886,7 +878,6 @@ tty_t *tp; /* TTY to check for events. */
|
||||
select_retry_pty(tp);
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* in_transfer *
|
||||
*===========================================================================*/
|
||||
@@ -957,7 +948,6 @@ register tty_t *tp; /* pointer to terminal to read from */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* in_process *
|
||||
*===========================================================================*/
|
||||
@@ -1119,7 +1109,6 @@ int count; /* number of input characters */
|
||||
return ct;
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* echo *
|
||||
*===========================================================================*/
|
||||
@@ -1181,7 +1170,6 @@ register int ch; /* pointer to character to echo */
|
||||
return(ch | (len << IN_LSHIFT));
|
||||
}
|
||||
|
||||
|
||||
/*==========================================================================*
|
||||
* rawecho *
|
||||
*==========================================================================*/
|
||||
@@ -1195,7 +1183,6 @@ int ch;
|
||||
tp->tty_reprint = rp;
|
||||
}
|
||||
|
||||
|
||||
/*==========================================================================*
|
||||
* back_over *
|
||||
*==========================================================================*/
|
||||
@@ -1225,7 +1212,6 @@ register tty_t *tp;
|
||||
return(1); /* one character erased */
|
||||
}
|
||||
|
||||
|
||||
/*==========================================================================*
|
||||
* reprint *
|
||||
*==========================================================================*/
|
||||
@@ -1265,7 +1251,6 @@ register tty_t *tp; /* pointer to tty struct */
|
||||
} while (count < tp->tty_incount);
|
||||
}
|
||||
|
||||
|
||||
/*==========================================================================*
|
||||
* out_process *
|
||||
*==========================================================================*/
|
||||
@@ -1351,7 +1336,6 @@ out_done:
|
||||
*ocount -= oct; /* *[io]count are the number of chars that are used */
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* dev_ioctl *
|
||||
*===========================================================================*/
|
||||
@@ -1377,7 +1361,6 @@ tty_t *tp;
|
||||
tty_reply(REVIVE, tp->tty_iocaller, tp->tty_ioproc, result);
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* setattr *
|
||||
*===========================================================================*/
|
||||
@@ -1431,7 +1414,6 @@ tty_t *tp;
|
||||
(*tp->tty_ioctl)(tp, 0);
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* tty_reply *
|
||||
*===========================================================================*/
|
||||
@@ -1453,7 +1435,6 @@ int status; /* reply code */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* sigchar *
|
||||
*===========================================================================*/
|
||||
@@ -1481,7 +1462,6 @@ int sig; /* SIGINT, SIGQUIT, SIGKILL or SIGHUP */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*==========================================================================*
|
||||
* tty_icancel *
|
||||
*==========================================================================*/
|
||||
@@ -1495,7 +1475,6 @@ register tty_t *tp;
|
||||
(*tp->tty_icancel)(tp, 0);
|
||||
}
|
||||
|
||||
|
||||
/*==========================================================================*
|
||||
* tty_init *
|
||||
*==========================================================================*/
|
||||
@@ -1617,7 +1596,6 @@ int enable; /* set timer if true, otherwise unset */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*==========================================================================*
|
||||
* tty_devnop *
|
||||
*==========================================================================*/
|
||||
@@ -1705,7 +1683,6 @@ struct sgttyb *sg;
|
||||
return(OK);
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* compat_getc *
|
||||
*===========================================================================*/
|
||||
@@ -1724,7 +1701,6 @@ struct tchars *tc;
|
||||
return(OK);
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* compat_setp *
|
||||
*===========================================================================*/
|
||||
@@ -1836,7 +1812,6 @@ struct sgttyb *sg;
|
||||
return(OK);
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* compat_setc *
|
||||
*===========================================================================*/
|
||||
@@ -1861,7 +1836,6 @@ struct tchars *tc;
|
||||
return(OK);
|
||||
}
|
||||
|
||||
|
||||
/* Table of termios line speed to sgtty line speed translations. All termios
|
||||
* speeds are present even if sgtty didn't know about them. (Now it does.)
|
||||
*/
|
||||
@@ -1903,7 +1877,6 @@ speed_t tspd;
|
||||
return 96;
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* sgspd2tspd *
|
||||
*===========================================================================*/
|
||||
@@ -1919,7 +1892,6 @@ int sgspd;
|
||||
return B9600;
|
||||
}
|
||||
|
||||
|
||||
#if ENABLE_BINCOMPAT
|
||||
/*===========================================================================*
|
||||
* do_ioctl_compat *
|
||||
@@ -1996,5 +1968,3 @@ message *m_ptr;
|
||||
#endif /* ENABLE_BINCOMPAT */
|
||||
#endif /* ENABLE_SRCCOMPAT || ENABLE_BINCOMPAT */
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user