From: stephen hemminger Date: Fri, 19 May 2017 16:29:41 +0000 (-0700) Subject: netfilter: dup: resolve warnings about missing prototypes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a32770b1e76bb78d31be856976586834e587ebfb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git netfilter: dup: resolve warnings about missing prototypes Missing include file causes: net/netfilter/nf_dup_netdev.c:26:6: warning: no previous prototype for ‘nf_fwd_netdev_egress’ [-Wmissing-prototypes] net/netfilter/nf_dup_netdev.c:40:6: warning: no previous prototype for ‘nf_dup_netdev_egress’ [-Wmissing-prototypes] Signed-off-by: Stephen Hemminger Signed-off-by: Pablo Neira Ayuso --- diff --git a/net/netfilter/nf_dup_netdev.c b/net/netfilter/nf_dup_netdev.c index c9d7f95768ab..f4a566e67213 100644 --- a/net/netfilter/nf_dup_netdev.c +++ b/net/netfilter/nf_dup_netdev.c @@ -13,6 +13,7 @@ #include #include #include +#include static void nf_do_netdev_egress(struct sk_buff *skb, struct net_device *dev) {