path: root/libiptc
diff options
authorChristoph Paasch <>2009-03-23 13:50:11 +0100
committerPatrick McHardy <>2009-03-23 13:50:11 +0100
commit7cd15e367cc81c839ef2ca061d201c46ca1deb7c (patch)
tree401d1b994f0c70c51274dac6690d7c33eaa85c15 /libiptc
parentfbb5639c02218acfd84c4f25f134efecb564fee1 (diff)
libiptc: avoid compile warnings for iptc_insert_chain
iptc_insert_chain is too big to get inlined and so it generates a warning while compiling. Signed-off-by: Christoph Paasch <> Signed-off-by: Patrick McHardy <>
Diffstat (limited to 'libiptc')
1 files changed, 1 insertions, 1 deletions
diff --git a/libiptc/libiptc.c b/libiptc/libiptc.c
index 544a5b29..c3d9bfc8 100644
--- a/libiptc/libiptc.c
+++ b/libiptc/libiptc.c
@@ -841,7 +841,7 @@ static int __iptcc_p_del_policy(struct xtc_handle *h, unsigned int num)
/* alphabetically insert a chain into the list */
-static inline void iptc_insert_chain(struct xtc_handle *h, struct chain_head *c)
+static void iptc_insert_chain(struct xtc_handle *h, struct chain_head *c)
struct chain_head *tmp;
struct list_head *list_start_pos;