qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5376] Make some variables static
@ 2008-10-01 19:06 Blue Swirl
  0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2008-10-01 19:06 UTC (permalink / raw)
  To: qemu-devel

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] = {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-01 19:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-01 19:06 [Qemu-devel] [5376] Make some variables static Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).