summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-06-30 21:38:08 +0000
committerphk <phk@FreeBSD.org>2004-06-30 21:38:08 +0000
commit309dbc34d2aaea7b16077acfc94afcaa41b7d3e1 (patch)
tree31941ecd0b4b189272ad7df10dc361e6c6b3dcb5 /sys/dev/sio
parente23137428c6ea4a26b2b25245093198ac7faed5c (diff)
downloadFreeBSD-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/sio')
-rw-r--r--sys/dev/sio/sio.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 552af42..fe219b1 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -283,7 +283,7 @@ struct com_s {
static int espattach(struct com_s *com, Port_t esp_port);
#endif
-static int combreak(struct tty *tp, int sig);
+static void combreak(struct tty *tp, int sig);
static timeout_t siobusycheck;
static u_int siodivisor(u_long rclk, speed_t speed);
static timeout_t siodtrwakeup;
@@ -2211,7 +2211,7 @@ repeat:
goto repeat;
}
-static int
+static void
combreak(tp, sig)
struct tty *tp;
int sig;
@@ -2224,7 +2224,6 @@ combreak(tp, sig)
sio_setreg(com, com_cfcr, com->cfcr_image |= CFCR_SBREAK);
else
sio_setreg(com, com_cfcr, com->cfcr_image &= ~CFCR_SBREAK);
- return (0);
}
static int
OpenPOWER on IntegriCloud