diff options
author | mp <mp@FreeBSD.org> | 2004-07-01 15:19:08 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2004-07-01 15:19:08 +0000 |
commit | 061907e201ad1d1e8fe1475346b1e9d36e9e1e43 (patch) | |
tree | 40e3a42b9ff327eec1bff5c18218d5a31c6ea13e /sys/dev/sab | |
parent | 3a3ce711b738283fe9990a3787b7da752c094db3 (diff) | |
download | FreeBSD-src-061907e201ad1d1e8fe1475346b1e9d36e9e1e43.zip FreeBSD-src-061907e201ad1d1e8fe1475346b1e9d36e9e1e43.tar.gz |
Fix build: the return type for t_break changed from int to void.
Diffstat (limited to 'sys/dev/sab')
-rw-r--r-- | sys/dev/sab/sab.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/sab/sab.c b/sys/dev/sab/sab.c index dfa7451..16283e8 100644 --- a/sys/dev/sab/sab.c +++ b/sys/dev/sab/sab.c @@ -132,7 +132,7 @@ static int sabtty_detach(device_t dev); static int sabtty_intr(struct sabtty_softc *sc); static void sabtty_softintr(struct sabtty_softc *sc); -static int sabttybreak(struct tty *tp, int brk); +static void sabttybreak(struct tty *tp, int brk); static int sabttymodem(struct tty *tp, int biton, int bitoff); static int sabtty_param(struct sabtty_softc *sc, struct tty *tp, struct termios *t); @@ -734,7 +734,7 @@ sabttyclose(struct cdev *dev, int flags, int mode, struct thread *td) return (0); } -static int +static void sabttybreak(struct tty *tp, int brk) { struct sabtty_softc *sc; @@ -746,7 +746,6 @@ sabttybreak(struct tty *tp, int brk) else SAB_WRITE(sc, SAB_DAFO, SAB_READ(sc, SAB_DAFO) & ~SAB_DAFO_XBRK); - return (0); } static void |