diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-26 19:01:16 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-26 19:01:16 +0000 |
commit | 527e33ce73c0460186406679b20670ac9ebe6972 (patch) | |
tree | df8a11ced70873338c2fc498a3aba2f32bf7a53d /tcp.h | |
parent | 93ebd039aab8b830e0887dd59360f2ba8de75c07 (diff) | |
download | slirp-527e33ce73c0460186406679b20670ac9ebe6972.zip slirp-527e33ce73c0460186406679b20670ac9ebe6972.tar.gz slirp-527e33ce73c0460186406679b20670ac9ebe6972.tar.bz2 |
Use const and static as needed, disable unused code
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3452 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcp.h')
-rw-r--r-- | tcp.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -42,8 +42,6 @@ typedef u_int32_t tcp_seq; #define PR_SLOWHZ 2 /* 2 slow timeouts per second (approx) */ #define PR_FASTHZ 5 /* 5 fast timeouts per second (not important) */ -extern int tcp_rcvspace; -extern int tcp_sndspace; extern struct socket *tcp_last_so; #define TCP_SNDSPACE 8192 @@ -172,6 +170,6 @@ struct tcphdr { extern tcp_seq tcp_iss; /* tcp initial send seq # */ -extern char *tcpstates[]; +extern const char *const tcpstates[]; #endif |