* pending input is not discarded.
*/
{
- register struct sgttyb *sg = (struct sgttyb *)data;
+ struct sgttyb *sg = (struct sgttyb *)data;
int speed;
if ((speed = sg->sg_ispeed) > MAX_SPEED || speed < 0)
*/
{
struct tchars *tc = (struct tchars *)data;
- register cc_t *cc;
+ cc_t *cc;
cc = term->c_cc;
cc[VINTR] = tc->t_intrc;
*/
{
struct ltchars *ltc = (struct ltchars *)data;
- register cc_t *cc;
+ cc_t *cc;
cc = term->c_cc;
cc[VSUSP] = ltc->t_suspc;
* flags, into the structure pointed to by 'data'.
*/
{
- register struct sgttyb *sg = (struct sgttyb *)data;
- register cc_t *cc = tp->t_cc;
+ struct sgttyb *sg = (struct sgttyb *)data;
+ cc_t *cc = tp->t_cc;
sg->sg_ospeed = ttcompatspeedtab(tp->t_ospeed, compatspeeds);
if (tp->t_ispeed == 0)
*/
{
struct tchars *tc = (struct tchars *)data;
- register cc_t *cc = tp->t_cc;
+ cc_t *cc = tp->t_cc;
tc->t_intrc = cc[VINTR];
tc->t_quitc = cc[VQUIT];
*/
{
struct ltchars *ltc = (struct ltchars *)data;
- register cc_t *cc = tp->t_cc;
+ cc_t *cc = tp->t_cc;
ltc->t_suspc = cc[VSUSP];
ltc->t_dsuspc = cc[VDSUSP];
static int
ttcompatgetflags(struct tty *tp)
{
- register tcflag_t iflag = tp->t_iflag;
- register tcflag_t lflag = tp->t_lflag;
- register tcflag_t oflag = tp->t_oflag;
- register tcflag_t cflag = tp->t_cflag;
- register int flags = 0;
+ tcflag_t iflag = tp->t_iflag;
+ tcflag_t lflag = tp->t_lflag;
+ tcflag_t oflag = tp->t_oflag;
+ tcflag_t cflag = tp->t_cflag;
+ int flags = 0;
if (iflag&IXOFF)
flags |= TANDEM;
static void
ttcompatsetflags(struct tty *tp, struct termios *t)
{
- register int flags = tp->t_flags;
- register tcflag_t iflag = t->c_iflag;
- register tcflag_t oflag = t->c_oflag;
- register tcflag_t lflag = t->c_lflag;
- register tcflag_t cflag = t->c_cflag;
+ int flags = tp->t_flags;
+ tcflag_t iflag = t->c_iflag;
+ tcflag_t oflag = t->c_oflag;
+ tcflag_t lflag = t->c_lflag;
+ tcflag_t cflag = t->c_cflag;
if (flags & RAW) {
iflag = IGNBRK;
static void
ttcompatsetlflags(struct tty *tp, struct termios *t)
{
- register int flags = tp->t_flags;
- register tcflag_t iflag = t->c_iflag;
- register tcflag_t oflag = t->c_oflag;
- register tcflag_t lflag = t->c_lflag;
- register tcflag_t cflag = t->c_cflag;
+ int flags = tp->t_flags;
+ tcflag_t iflag = t->c_iflag;
+ tcflag_t oflag = t->c_oflag;
+ tcflag_t lflag = t->c_lflag;
+ tcflag_t cflag = t->c_cflag;
iflag &= ~(PARMRK|IGNPAR|IGNCR|INLCR);
if (flags&CRTERA)