diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-02-17 14:39:30 +0100 |
---|---|---|
committer | Jan Kiszka <jan.kiszka@siemens.com> | 2012-02-27 14:54:49 +0100 |
commit | 8b5bd96b65fc56bbb60dc6de6184abaab23e0349 (patch) | |
tree | 7697301ed4d784d4c1507f7db7be385d9cf13129 /if.h | |
parent | 9f295bd344fa5e9e54273df3254de2a2a4a51681 (diff) | |
download | slirp-8b5bd96b65fc56bbb60dc6de6184abaab23e0349.zip slirp-8b5bd96b65fc56bbb60dc6de6184abaab23e0349.tar.gz slirp-8b5bd96b65fc56bbb60dc6de6184abaab23e0349.tar.bz2 |
slirp: Clean up ifs_init
Remove duplicate ifs_init macros, reimplement the logic as static inline
in mbuf.h.
CC: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
CC: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'if.h')
-rw-r--r-- | if.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -20,6 +20,4 @@ /* 2 for alignment, 14 for ethernet, 40 for TCP/IP */ #define IF_MAXLINKHDR (2 + 14 + 40) -#define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm)) - #endif |