From: Keith Bostic Date: Wed, 15 Jul 1992 00:51:27 +0000 (-0800) Subject: don't include .c files, this breaks if /usr/include is a copy! X-Git-Tag: BSD-4_4-Snapshot-Development~5734 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/66a081f5289f29cfe871106754b0425dc95de928 don't include .c files, this breaks if /usr/include is a copy! SCCS-vsn: usr.bin/netstat/iso.c 5.14 SCCS-vsn: usr.bin/netstat/Makefile 5.17 --- diff --git a/usr/src/usr.bin/netstat/Makefile b/usr/src/usr.bin/netstat/Makefile index d13ec56672..4c73231a38 100644 --- a/usr/src/usr.bin/netstat/Makefile +++ b/usr/src/usr.bin/netstat/Makefile @@ -1,4 +1,4 @@ -# @(#)Makefile 5.16 (Berkeley) %G% +# @(#)Makefile 5.17 (Berkeley) %G% PROG= netstat OBJS= host.o inet.o if.o main.o mbuf.o route.o unix.o ns.o bbnnet.o diff --git a/usr/src/usr.bin/netstat/iso.c b/usr/src/usr.bin/netstat/iso.c index 5fae490fd0..b17d0fc333 100644 --- a/usr/src/usr.bin/netstat/iso.c +++ b/usr/src/usr.bin/netstat/iso.c @@ -6,7 +6,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)iso.c 5.13 (Berkeley) %G%"; +static char sccsid[] = "@(#)iso.c 5.14 (Berkeley) %G%"; #endif /* not lint */ /* @@ -64,7 +64,6 @@ SOFTWARE. #undef satosiso #include #include -#include #include #include #include @@ -282,6 +281,7 @@ tp_protopr(off, name) u_long off; char *name; { + extern char *tp_sstring[]; struct tp_ref *tpr, *tpr_base; struct tp_refinfo tpkerninfo; int size;