projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
string.h is ANSI C include file
[unix-history]
/
usr
/
src
/
usr.bin
/
netstat
/
inet.c
diff --git
a/usr/src/usr.bin/netstat/inet.c
b/usr/src/usr.bin/netstat/inet.c
index
0db7207
..
fae9512
100644
(file)
--- a/
usr/src/usr.bin/netstat/inet.c
+++ b/
usr/src/usr.bin/netstat/inet.c
@@
-16,12
+16,9
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)inet.c 5.1
2
(Berkeley) %G%";
+static char sccsid[] = "@(#)inet.c 5.1
3
(Berkeley) %G%";
#endif /* not lint */
#endif /* not lint */
-#include <strings.h>
-#include <stdio.h>
-
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
@@
-49,6
+46,9
@@
static char sccsid[] = "@(#)inet.c 5.12 (Berkeley) %G%";
#include <netdb.h>
#include <netdb.h>
+#include <stdio.h>
+#include <string.h>
+
struct inpcb inpcb;
struct tcpcb tcpcb;
struct socket sockb;
struct inpcb inpcb;
struct tcpcb tcpcb;
struct socket sockb;