diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-17 20:21:51 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-17 20:21:51 +0000 |
commit | 9a8fa602dfa60e83d1c126ad112cf422651f67d0 (patch) | |
tree | ec54152237acf0f34a8d109a6fafeb1f3d40f068 | |
parent | a31ac56239ff3028882dc5179915360e718aba29 (diff) | |
download | slirp-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |