Commit 7ca699c8c0b32f2f923b0255128233a492c57da0
1 parent
f82a3d48
Make some variables static
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5376 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
2 additions
and
2 deletions
slirp/bootp.c
@@ -36,7 +36,7 @@ typedef struct { | @@ -36,7 +36,7 @@ typedef struct { | ||
36 | uint8_t macaddr[6]; | 36 | uint8_t macaddr[6]; |
37 | } BOOTPClient; | 37 | } BOOTPClient; |
38 | 38 | ||
39 | -BOOTPClient bootp_clients[NB_ADDR]; | 39 | +static BOOTPClient bootp_clients[NB_ADDR]; |
40 | 40 | ||
41 | const char *bootp_filename; | 41 | const char *bootp_filename; |
42 | 42 |
slirp/ip_icmp.c
@@ -43,7 +43,7 @@ struct icmpstat icmpstat; | @@ -43,7 +43,7 @@ struct icmpstat icmpstat; | ||
43 | 43 | ||
44 | /* The message sent when emulating PING */ | 44 | /* The message sent when emulating PING */ |
45 | /* Be nice and tell them it's just a pseudo-ping packet */ | 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 | /* list of actions for icmp_error() on RX of an icmp message */ | 48 | /* list of actions for icmp_error() on RX of an icmp message */ |
49 | static const int icmp_flush[19] = { | 49 | static const int icmp_flush[19] = { |