aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-17 20:26:25 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-17 20:26:25 +0000
commitc946fc16840d700b867009ea83481581bf6a2693 (patch)
treea4456b353faf5dcb194df71d0c268a22b74fbc41
parent9a8fa602dfa60e83d1c126ad112cf422651f67d0 (diff)
downloadslirp-c946fc16840d700b867009ea83481581bf6a2693.zip
slirp-c946fc16840d700b867009ea83481581bf6a2693.tar.gz
slirp-c946fc16840d700b867009ea83481581bf6a2693.tar.bz2
Fix some warnings that would be generated by gcc -Wmissing-prototypes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5022 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--slirp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp.c b/slirp.c
index 41f4ebe..fc68f10 100644
--- a/slirp.c
+++ b/slirp.c
@@ -556,7 +556,7 @@ struct arphdr {
unsigned char ar_tip[4]; /* target IP address */
};
-void arp_input(const uint8_t *pkt, int pkt_len)
+static void arp_input(const uint8_t *pkt, int pkt_len)
{
struct ethhdr *eh = (struct ethhdr *)pkt;
struct arphdr *ah = (struct arphdr *)(pkt + ETH_HLEN);