summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-10-16 20:40:40 +0000
committerphk <phk@FreeBSD.org>2005-10-16 20:40:40 +0000
commited89346cf3f32d4c1ab74cce53fa42f1baf0d9b9 (patch)
treeced06c8ae111c70c538d3db9aa1ab5a607fd9c43 /sys
parent3b17d622f49102f4b8d38a7b8e6f5f7b9bea2138 (diff)
downloadFreeBSD-src-ed89346cf3f32d4c1ab74cce53fa42f1baf0d9b9.zip
FreeBSD-src-ed89346cf3f32d4c1ab74cce53fa42f1baf0d9b9.tar.gz
Make ttsetcompat() static
Diffstat (limited to 'sys')
-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 f8975b6..0ec1926 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 c6f980c..1eceefd 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);
OpenPOWER on IntegriCloud