From a5f1b965dae70f7d41721edaacb109d80721b966 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 17 Aug 2008 20:21:51 +0000 Subject: 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 --- slirp/if.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'slirp') 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 @@ struct mbuf *next_m; /* Pointer to next mbuf to output */ #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 @@ ifs_insque(ifm, ifmhead) } 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; -- cgit v1.1