Fix warnings that would be generated by gcc -Wstrict-prototypes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5021 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/slirp/if.c b/slirp/if.c
index 361d7f3..31c2112 100644
--- a/slirp/if.c
+++ b/slirp/if.c
@@ -16,8 +16,7 @@
#define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm))
void
-ifs_insque(ifm, ifmhead)
- struct mbuf *ifm, *ifmhead;
+ifs_insque(struct mbuf *ifm, struct mbuf *ifmhead)
{
ifm->ifs_next = ifmhead->ifs_next;
ifmhead->ifs_next = ifm;
@@ -26,8 +25,7 @@
}
void
-ifs_remque(ifm)
- struct mbuf *ifm;
+ifs_remque(struct mbuf *ifm)
{
ifm->ifs_prev->ifs_next = ifm->ifs_next;
ifm->ifs_next->ifs_prev = ifm->ifs_prev;