diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter_ipv6.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/netfilter_ipv6.h b/include/linux/netfilter_ipv6.h index 53b2983f6278..14f2bd010884 100644 --- a/include/linux/netfilter_ipv6.h +++ b/include/linux/netfilter_ipv6.h | |||
@@ -72,7 +72,12 @@ enum nf_ip6_hook_priorities { | |||
72 | NF_IP6_PRI_LAST = INT_MAX, | 72 | NF_IP6_PRI_LAST = INT_MAX, |
73 | }; | 73 | }; |
74 | 74 | ||
75 | #ifdef CONFIG_NETFILTER | ||
75 | extern int ipv6_netfilter_init(void); | 76 | extern int ipv6_netfilter_init(void); |
76 | extern void ipv6_netfilter_fini(void); | 77 | extern void ipv6_netfilter_fini(void); |
78 | #else /* CONFIG_NETFILTER */ | ||
79 | static inline int ipv6_netfilter_init(void) { return 0; } | ||
80 | static inline void ipv6_netfilter_fini(void) { return; } | ||
81 | #endif /* CONFIG_NETFILTER */ | ||
77 | 82 | ||
78 | #endif /*__LINUX_IP6_NETFILTER_H*/ | 83 | #endif /*__LINUX_IP6_NETFILTER_H*/ |