summaryrefslogtreecommitdiffstats
path: root/sys/dev/zs
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2004-07-01 15:19:08 +0000
committermp <mp@FreeBSD.org>2004-07-01 15:19:08 +0000
commit061907e201ad1d1e8fe1475346b1e9d36e9e1e43 (patch)
tree40e3a42b9ff327eec1bff5c18218d5a31c6ea13e /sys/dev/zs
parent3a3ce711b738283fe9990a3787b7da752c094db3 (diff)
downloadFreeBSD-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/zs')
-rw-r--r--sys/dev/zs/zs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/zs/zs.c b/sys/dev/zs/zs.c
index fa903cf..11bfa44 100644
--- a/sys/dev/zs/zs.c
+++ b/sys/dev/zs/zs.c
@@ -145,7 +145,7 @@ static d_close_t zsttyclose;
static void zsttystart(struct tty *tp);
static void zsttystop(struct tty *tp, int rw);
static int zsttyparam(struct tty *tp, struct termios *t);
-static int zsttybreak(struct tty *tp, int brk);
+static void zsttybreak(struct tty *tp, int brk);
static int zsttymodem(struct tty *tp, int biton, int bitoff);
static struct cdevsw zstty_cdevsw = {
@@ -608,7 +608,7 @@ zsttyparam(struct tty *tp, struct termios *t)
}
-static int
+static void
zsttybreak(struct tty *tp, int brk)
{
struct zstty_softc *sc;
@@ -619,7 +619,6 @@ zsttybreak(struct tty *tp, int brk)
ZS_WRITE_REG(sc, 5, ZS_READ_REG(sc, 5) | ZSWR5_BREAK);
else
ZS_WRITE_REG(sc, 5, ZS_READ_REG(sc, 5) & ~ZSWR5_BREAK);
- return (0);
}
static int
OpenPOWER on IntegriCloud