diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-01 19:06:48 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-01 19:06:48 +0000 |
commit | f7c64080498ebb2d6aa1c988673f53693a9905ea (patch) | |
tree | aa0068c26bb7e8ae8ec2b4c3b1cdcbd1663465e2 | |
parent | c4a230c42f533ed9d2a06550d3ea9ef2a1cf12f4 (diff) | |
download | slirp-f7c64080498ebb2d6aa1c988673f53693a9905ea.zip slirp-f7c64080498ebb2d6aa1c988673f53693a9905ea.tar.gz slirp-f7c64080498ebb2d6aa1c988673f53693a9905ea.tar.bz2 |
Make some variables static
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5376 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | bootp.c | 2 | ||||
-rw-r--r-- | ip_icmp.c | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -36,7 +36,7 @@ typedef struct { uint8_t macaddr[6]; } BOOTPClient; -BOOTPClient bootp_clients[NB_ADDR]; +static BOOTPClient bootp_clients[NB_ADDR]; const char *bootp_filename; @@ -43,8 +43,9 @@ struct icmpstat icmpstat; /* 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] = { |