don't include .c files, this breaks if /usr/include is a copy!
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 15 Jul 1992 00:51:27 +0000 (16:51 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 15 Jul 1992 00:51:27 +0000 (16:51 -0800)
SCCS-vsn: usr.bin/netstat/iso.c 5.14
SCCS-vsn: usr.bin/netstat/Makefile 5.17

usr/src/usr.bin/netstat/Makefile
usr/src/usr.bin/netstat/iso.c

index d13ec56..4c73231 100644 (file)
@@ -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
 
 PROG=  netstat
 OBJS=  host.o inet.o if.o main.o mbuf.o route.o unix.o ns.o bbnnet.o
index 5fae490..b17d0fc 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)iso.c      5.13 (Berkeley) %G%";
+static char sccsid[] = "@(#)iso.c      5.14 (Berkeley) %G%";
 #endif /* not lint */
 
 /*
 #endif /* not lint */
 
 /*
@@ -64,7 +64,6 @@ SOFTWARE.
 #undef satosiso
 #include <netiso/tp_param.h>
 #include <netiso/tp_states.h>
 #undef satosiso
 #include <netiso/tp_param.h>
 #include <netiso/tp_states.h>
-#include <netiso/tp_astring.c>
 #include <netiso/tp_pcb.h>
 #include <netiso/tp_stat.h>
 #include <netiso/iso_pcb.h>
 #include <netiso/tp_pcb.h>
 #include <netiso/tp_stat.h>
 #include <netiso/iso_pcb.h>
@@ -282,6 +281,7 @@ tp_protopr(off, name)
        u_long off;
        char *name;
 {
        u_long off;
        char *name;
 {
+       extern char *tp_sstring[];
        struct tp_ref *tpr, *tpr_base;
        struct tp_refinfo tpkerninfo;
        int size;
        struct tp_ref *tpr, *tpr_base;
        struct tp_refinfo tpkerninfo;
        int size;