From 7cd15e367cc81c839ef2ca061d201c46ca1deb7c Mon Sep 17 00:00:00 2001 From: Christoph Paasch Date: Mon, 23 Mar 2009 13:50:11 +0100 Subject: 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 --- libiptc/libiptc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libiptc/libiptc.c') 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; -- cgit v1.2.3