diff options
author | phk <phk@FreeBSD.org> | 2004-06-30 21:38:08 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-06-30 21:38:08 +0000 |
commit | 309dbc34d2aaea7b16077acfc94afcaa41b7d3e1 (patch) | |
tree | 31941ecd0b4b189272ad7df10dc361e6c6b3dcb5 /sys/dev/digi | |
parent | e23137428c6ea4a26b2b25245093198ac7faed5c (diff) | |
download | FreeBSD-src-309dbc34d2aaea7b16077acfc94afcaa41b7d3e1.zip FreeBSD-src-309dbc34d2aaea7b16077acfc94afcaa41b7d3e1.tar.gz |
Define the tty methods as typedefs.
Change the return type for t_break to void.
Add t_ioctl (more about this later).
Diffstat (limited to 'sys/dev/digi')
-rw-r--r-- | sys/dev/digi/digi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/digi/digi.c b/sys/dev/digi/digi.c index a26a398..8b56691 100644 --- a/sys/dev/digi/digi.c +++ b/sys/dev/digi/digi.c @@ -79,7 +79,7 @@ static d_write_t digiwrite; static d_ioctl_t digiioctl; static void digistop(struct tty *tp, int rw); -static int digibreak(struct tty *tp, int brk); +static void digibreak(struct tty *tp, int brk); static int digimodem(struct tty *tp, int sigon, int sigoff); static void digi_poll(void *ptr); static void digi_freemoduledata(struct digi_softc *); @@ -1308,7 +1308,7 @@ digiioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *t return (0); } -static int +static void digibreak(struct tty *tp, int brk) { int mynor; @@ -1332,7 +1332,6 @@ digibreak(struct tty *tp, int brk) */ if (brk) fepcmd_w(port, SENDBREAK, 400, 10); - return (0); } static int |