From 7ca699c8c0b32f2f923b0255128233a492c57da0 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Wed, 1 Oct 2008 19:06:48 +0000 Subject: [PATCH] Make some variables static git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5376 c046a42c-6fe2-441c-8c8c-71466251a162 --- slirp/bootp.c | 2 +- slirp/ip_icmp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/slirp/bootp.c b/slirp/bootp.c index 27220ee205..750fae3d05 100644 --- a/slirp/bootp.c +++ b/slirp/bootp.c @@ -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; diff --git a/slirp/ip_icmp.c b/slirp/ip_icmp.c index 2514f9f831..b3d4348bbe 100644 --- a/slirp/ip_icmp.c +++ b/slirp/ip_icmp.c @@ -43,7 +43,7 @@ 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] = { -- 2.11.4.GIT