aboutsummaryrefslogtreecommitdiff
path: root/slirp/if.c
diff options
context:
space:
mode:
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;