summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2005-10-16 20:40:40 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2005-10-16 20:40:40 +0000
commit51514bc48460a76cf3976e1972425ee632a358eb (patch)
treeced06c8ae111c70c538d3db9aa1ab5a607fd9c43
parent77d1500735262174cbbfaa225e0fc7f405743ab9 (diff)
Notes
-rw-r--r--sys/kern/tty_compat.c2
-rw-r--r--sys/sys/tty.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/tty_compat.c b/sys/kern/tty_compat.c
index f8975b6e8aca..0ec192679246 100644
--- a/sys/kern/tty_compat.c
+++ b/sys/kern/tty_compat.c
@@ -93,7 +93,7 @@ ttcompatspeedtab(int speed, struct speedtab *table)
return (1); /* 50, min and not hangup */
}
-int
+static int
ttsetcompat(struct tty *tp, u_long *com, caddr_t data, struct termios *term)
{
switch (*com) {
diff --git a/sys/sys/tty.h b/sys/sys/tty.h
index c6f980ca9d87..1eceefde9235 100644
--- a/sys/sys/tty.h
+++ b/sys/sys/tty.h
@@ -337,8 +337,6 @@ int ttcompat(struct tty *tp, u_long com, caddr_t data, int flag);
int ttioctl(struct tty *tp, u_long com, void *data, int flag);
int ttread(struct tty *tp, struct uio *uio, int flag);
void ttrstrt(void *tp);
-int ttsetcompat(struct tty *tp, u_long *com, caddr_t data,
- struct termios *term);
void ttsetwater(struct tty *tp);
int ttspeedtab(int speed, struct speedtab *table);
int ttstart(struct tty *tp);