Skip to contentSkip to conversation

fix gcc-4.0 compilation

nf_conntrack Applied Michal Rokos 2 participants 2 messages May 24, 2005 – Jun 11, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

Hello,

nf_ct_put() shouldn't be marked as inline since it's not inline.

include/linux/netfilter/nf_conntrack.h (mode:100644) +1 -1
Index: include/linux/netfilter/nf_conntrack.h
===================================================================
@@ -218,7 +218,7 @@
 }
 
 /* decrement reference count on a conntrack */
-extern inline void nf_ct_put(struct nf_conn *ct);
+extern void nf_ct_put(struct nf_conn *ct);
 
 /* call to create an explicit dependency on nf_conntrack. */
 extern void need_nf_conntrack(void);
#1 lore raw
Quoted 1 line · Michal Rokos

nf_ct_put() shouldn't be marked as inline since it's not inline.

Applied, thanks.

Regards
Patrick