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
commit6261992d625ff523ce620c73ad9bcb09ffbe79a2 (patch)
treea9fa6061ef07e7648ecc19cffddd422e9f82b489 /slirp
parent55f4bc1ca2f50935ac3748567c50e97fde45a6df (diff)
downloadqemu-6261992d625ff523ce620c73ad9bcb09ffbe79a2.tar.gz
qemu-6261992d625ff523ce620c73ad9bcb09ffbe79a2.tar.bz2
qemu-6261992d625ff523ce620c73ad9bcb09ffbe79a2.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);