Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kl72B-0005Jv-9p for qemu-devel@nongnu.org; Wed, 01 Oct 2008 15:06:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kl72A-0005JL-NT for qemu-devel@nongnu.org; Wed, 01 Oct 2008 15:06:50 -0400 Received: from [199.232.76.173] (port=58028 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kl72A-0005JF-Ak for qemu-devel@nongnu.org; Wed, 01 Oct 2008 15:06:50 -0400 Received: from savannah.gnu.org ([199.232.41.3]:44090 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kl729-0001am-VE for qemu-devel@nongnu.org; Wed, 01 Oct 2008 15:06:50 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1Kl729-0005Xc-Ep for qemu-devel@nongnu.org; Wed, 01 Oct 2008 19:06:49 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1Kl729-0005XG-3Q for qemu-devel@nongnu.org; Wed, 01 Oct 2008 19:06:49 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Wed, 01 Oct 2008 19:06:49 +0000 Subject: [Qemu-devel] [5376] Make some variables static Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 5376 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5376 Author: blueswir1 Date: 2008-10-01 19:06:48 +0000 (Wed, 01 Oct 2008) Log Message: ----------- Make some variables static Modified Paths: -------------- trunk/slirp/bootp.c trunk/slirp/ip_icmp.c Modified: trunk/slirp/bootp.c =================================================================== --- trunk/slirp/bootp.c 2008-10-01 18:13:13 UTC (rev 5375) +++ trunk/slirp/bootp.c 2008-10-01 19:06:48 UTC (rev 5376) @@ -36,7 +36,7 @@ uint8_t macaddr[6]; } BOOTPClient; -BOOTPClient bootp_clients[NB_ADDR]; +static BOOTPClient bootp_clients[NB_ADDR]; const char *bootp_filename; Modified: trunk/slirp/ip_icmp.c =================================================================== --- trunk/slirp/ip_icmp.c 2008-10-01 18:13:13 UTC (rev 5375) +++ trunk/slirp/ip_icmp.c 2008-10-01 19:06:48 UTC (rev 5376) @@ -43,7 +43,7 @@ /* The message sent when emulating PING */ /* Be nice and tell them it's just a pseudo-ping packet */ -const char icmp_ping_msg[] = "This is a pseudo-PING packet used by Slirp to emulate ICMP ECHO-REQUEST packets.\n"; +static const char icmp_ping_msg[] = "This is a pseudo-PING packet used by Slirp to emulate ICMP ECHO-REQUEST packets.\n"; /* list of actions for icmp_error() on RX of an icmp message */ static const int icmp_flush[19] = {