aboutsummaryrefslogtreecommitdiff
path: root/slirp/if.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-17 20:21:51 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-17 20:21:51 +0000
commita5f1b965dae70f7d41721edaacb109d80721b966 (patch)
tree99ae880ed0b785c12107a9744d4446707823ceb4 /slirp/if.c
parent6f41b7772d84494b47252aaff67a7c16cc37dbe0 (diff)
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
Diffstat (limited to 'slirp/if.c')
-rw-r--r--slirp/if.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/slirp/if.c b/slirp/if.c
index 361d7f3640..31c2112354 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;