aboutsummaryrefslogtreecommitdiff
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
commit9a8fa602dfa60e83d1c126ad112cf422651f67d0 (patch)
treeec54152237acf0f34a8d109a6fafeb1f3d40f068
parenta31ac56239ff3028882dc5179915360e718aba29 (diff)
downloadslirp-9a8fa602dfa60e83d1c126ad112cf422651f67d0.zip
slirp-9a8fa602dfa60e83d1c126ad112cf422651f67d0.tar.gz
slirp-9a8fa602dfa60e83d1c126ad112cf422651f67d0.tar.bz2
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
-rw-r--r--if.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/if.c b/if.c
index 6fa8bb2..5a1246b 100644
--- a/if.c
+++ b/if.c
@@ -15,7 +15,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;
+void ifs_insque(struct mbuf *ifm, struct mbuf *ifmhead)
{
ifm->ifs_next = ifmhead->ifs_next;
ifmhead->ifs_next = ifm;
@@ -23,7 +23,7 @@ void ifs_insque(ifm, ifmhead) struct mbuf *ifm, *ifmhead;
ifm->ifs_next->ifs_prev = ifm;
}
-void ifs_remque(ifm) struct mbuf *ifm;
+void ifs_remque(struct mbuf *ifm)
{
ifm->ifs_prev->ifs_next = ifm->ifs_next;
ifm->ifs_next->ifs_prev = ifm->ifs_prev;