diff options
-rw-r--r-- | sys/kern/tty_compat.c | 2 | ||||
-rw-r--r-- | sys/sys/tty.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/tty_compat.c b/sys/kern/tty_compat.c index f8975b6e8aca..0ec192679246 100644 --- a/sys/kern/tty_compat.c +++ b/sys/kern/tty_compat.c @@ -93,7 +93,7 @@ ttcompatspeedtab(int speed, struct speedtab *table) return (1); /* 50, min and not hangup */ } -int +static int ttsetcompat(struct tty *tp, u_long *com, caddr_t data, struct termios *term) { switch (*com) { diff --git a/sys/sys/tty.h b/sys/sys/tty.h index c6f980ca9d87..1eceefde9235 100644 --- a/sys/sys/tty.h +++ b/sys/sys/tty.h @@ -337,8 +337,6 @@ int ttcompat(struct tty *tp, u_long com, caddr_t data, int flag); int ttioctl(struct tty *tp, u_long com, void *data, int flag); int ttread(struct tty *tp, struct uio *uio, int flag); void ttrstrt(void *tp); -int ttsetcompat(struct tty *tp, u_long *com, caddr_t data, - struct termios *term); void ttsetwater(struct tty *tp); int ttspeedtab(int speed, struct speedtab *table); int ttstart(struct tty *tp); |