qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [5376] Make some variables static


From: Blue Swirl
Subject: [Qemu-devel] [5376] Make some variables static
Date: Wed, 01 Oct 2008 19:06:49 +0000

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]