summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r--sys/kern/tty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index 5520b82..90d90cf 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -2899,7 +2899,7 @@ ttyioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td
return (ENOTTY);
}
-int
+void
ttyldoptim(struct tty *tp)
{
struct termios *t;
@@ -2914,7 +2914,6 @@ ttyldoptim(struct tty *tp)
tp->t_state |= TS_CAN_BYPASS_L_RINT;
else
tp->t_state &= ~TS_CAN_BYPASS_L_RINT;
- return (tp->t_hotchar);
}
OpenPOWER on IntegriCloud