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
Fixed warnings in netstat found by David Greenman.
[unix-history]
/
sys
/
netinet
/
tcp_fsm.h
diff --git
a/sys/netinet/tcp_fsm.h
b/sys/netinet/tcp_fsm.h
index
e9280b5
..
8bd19d5
100644
(file)
--- a/
sys/netinet/tcp_fsm.h
+++ b/
sys/netinet/tcp_fsm.h
@@
-30,9
+30,13
@@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)tcp_fsm.h 7.4 (Berkeley) 6/28/90
+ * from: @(#)tcp_fsm.h 7.4 (Berkeley) 6/28/90
+ * $Id: tcp_fsm.h,v 1.2 1993/10/16 18:26:24 rgrimes Exp $
*/
*/
+#ifndef _NETINET_TCP_FSM_H_
+#define _NETINET_TCP_FSM_H_ 1
+
/*
* TCP FSM state definitions.
* Per RFC793, September, 1981.
/*
* TCP FSM state definitions.
* Per RFC793, September, 1981.
@@
-73,7
+77,7
@@
u_char tcp_outflags[TCP_NSTATES] = {
#endif
#ifdef KPROF
#endif
#ifdef KPROF
-
int
tcp_acounts[TCP_NSTATES][PRU_NREQ];
+
extern int
tcp_acounts[TCP_NSTATES][PRU_NREQ];
#endif
#ifdef TCPSTATES
#endif
#ifdef TCPSTATES
@@
-83,3
+87,4
@@
char *tcpstates[] = {
"LAST_ACK", "FIN_WAIT_2", "TIME_WAIT",
};
#endif
"LAST_ACK", "FIN_WAIT_2", "TIME_WAIT",
};
#endif
+#endif /* _NETINET_TCP_FSM_H_ */