From 9634d9031c140b24c7ca0d8872632207f6ce7275 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Fri, 26 Oct 2007 19:01:16 +0000 Subject: 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 --- slirp/tcp.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'slirp/tcp.h') diff --git a/slirp/tcp.h b/slirp/tcp.h index 229293c..1115076 100644 --- a/slirp/tcp.h +++ b/slirp/tcp.h @@ -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 -- cgit v1.1