From 309dbc34d2aaea7b16077acfc94afcaa41b7d3e1 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 30 Jun 2004 21:38:08 +0000 Subject: Define the tty methods as typedefs. Change the return type for t_break to void. Add t_ioctl (more about this later). --- sys/dev/uart/uart_tty.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/dev/uart') diff --git a/sys/dev/uart/uart_tty.c b/sys/dev/uart/uart_tty.c index 678e6df..f63d4f0 100644 --- a/sys/dev/uart/uart_tty.c +++ b/sys/dev/uart/uart_tty.c @@ -251,14 +251,13 @@ uart_tty_modem(struct tty *tp, int biton, int bitoff) return (sc->sc_hwsig); } -static int +static void uart_tty_break(struct tty *tp, int state) { struct uart_softc *sc; sc = tp->t_dev->si_drv1; UART_IOCTL(sc, UART_IOCTL_BREAK, state); - return (0); } static void -- cgit v1.1