Commit 7ca699c8c0b32f2f923b0255128233a492c57da0

Authored by blueswir1
1 parent f82a3d48

Make some variables static

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5376 c046a42c-6fe2-441c-8c8c-71466251a162
slirp/bootp.c
... ... @@ -36,7 +36,7 @@ typedef struct {
36 36 uint8_t macaddr[6];
37 37 } BOOTPClient;
38 38  
39   -BOOTPClient bootp_clients[NB_ADDR];
  39 +static BOOTPClient bootp_clients[NB_ADDR];
40 40  
41 41 const char *bootp_filename;
42 42  
... ...
slirp/ip_icmp.c
... ... @@ -43,7 +43,7 @@ struct icmpstat icmpstat;
43 43  
44 44 /* The message sent when emulating PING */
45 45 /* Be nice and tell them it's just a pseudo-ping packet */
46   -const char icmp_ping_msg[] = "This is a pseudo-PING packet used by Slirp to emulate ICMP ECHO-REQUEST packets.\n";
  46 +static const char icmp_ping_msg[] = "This is a pseudo-PING packet used by Slirp to emulate ICMP ECHO-REQUEST packets.\n";
47 47  
48 48 /* list of actions for icmp_error() on RX of an icmp message */
49 49 static const int icmp_flush[19] = {
... ...