summaryrefslogtreecommitdiff
path: root/slirp
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
commit8fcd36920e1b0e5ff92efb16f7ae05112cd4defa (patch)
treea9fa6061ef07e7648ecc19cffddd422e9f82b489 /slirp
parenta5f1b965dae70f7d41721edaacb109d80721b966 (diff)
downloadqemu-8fcd36920e1b0e5ff92efb16f7ae05112cd4defa.tar.gz
qemu-8fcd36920e1b0e5ff92efb16f7ae05112cd4defa.tar.bz2
qemu-8fcd36920e1b0e5ff92efb16f7ae05112cd4defa.zip
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
Diffstat (limited to 'slirp')
-rw-r--r--slirp/slirp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/slirp.c b/slirp/slirp.c
index 303f4825cd..158fd7dbd6 100644
--- a/slirp/slirp.c
+++ b/slirp/slirp.c
@@ -554,7 +554,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);