diff options
author | Christoph Paasch <christoph.paasch@gmail.com> | 2009-03-23 13:50:11 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-03-23 13:50:11 +0100 |
commit | 7cd15e367cc81c839ef2ca061d201c46ca1deb7c (patch) | |
tree | 401d1b994f0c70c51274dac6690d7c33eaa85c15 /libiptc | |
parent | fbb5639c02218acfd84c4f25f134efecb564fee1 (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 <christoph.paasch@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'libiptc')
-rw-r--r-- | libiptc/libiptc.c | 2 |
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; |