diff options
author | bde <bde@FreeBSD.org> | 1995-03-16 18:17:34 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-03-16 18:17:34 +0000 |
commit | 289f11acb49b6dbb3081e09bf94a86f008f55814 (patch) | |
tree | e4952f18ac85eccbbd3d9b0f010098732d07fe6d /sys/kern/tty.c | |
parent | 4c4945abee9eabe3a2be340ba973ae861c21a3c6 (diff) | |
download | FreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.zip FreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.tar.gz |
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
(except in netccitt, netiso and netns) and most of the warnings from
`gcc -Wnested-externs'. Fix all the bugs found. There were no serious
ones.
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r-- | sys/kern/tty.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 9edf66a..ffef354 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)tty.c 8.8 (Berkeley) 1/21/94 - * $Id: tty.c,v 1.34 1995/02/28 00:21:03 pst Exp $ + * $Id: tty.c,v 1.35 1995/02/28 23:20:11 ache Exp $ */ #include "snp.h" @@ -195,7 +195,6 @@ int ttyclose(tp) register struct tty *tp; { - extern struct tty *constty; /* Temporary virtual console. */ int s; s = spltty(); @@ -662,8 +661,6 @@ ttioctl(tp, cmd, data, flag) int cmd, flag; void *data; { - extern struct tty *constty; /* Temporary virtual console. */ - extern int nlinesw; register struct proc *p; int s, error; |