All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 1/2] netfilter: resolve warnings about missing prototypes
@ 2017-05-19 16:29 Stephen Hemminger
  2017-05-19 16:29 ` [PATCH net-next 2/2] netfilter: nf_tables: make local functions static Stephen Hemminger
  2017-05-29  9:34 ` [PATCH net-next 1/2] netfilter: resolve warnings about missing prototypes Pablo Neira Ayuso
  0 siblings, 2 replies; 4+ messages in thread
From: Stephen Hemminger @ 2017-05-19 16:29 UTC (permalink / raw)
  To: pablo, fw; +Cc: netfilter-devel, Stephen Hemminger

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 <sthemmin@microsoft.com>
---
 net/netfilter/nf_dup_netdev.c | 1 +
 1 file changed, 1 insertion(+)

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 <linux/netfilter.h>
 #include <linux/netfilter/nf_tables.h>
 #include <net/netfilter/nf_tables.h>
+#include <net/netfilter/nf_dup_netdev.h>
 
 static void nf_do_netdev_egress(struct sk_buff *skb, struct net_device *dev)
 {
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-05-29  9:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-19 16:29 [PATCH net-next 1/2] netfilter: resolve warnings about missing prototypes Stephen Hemminger
2017-05-19 16:29 ` [PATCH net-next 2/2] netfilter: nf_tables: make local functions static Stephen Hemminger
2017-05-29  9:35   ` Pablo Neira Ayuso
2017-05-29  9:34 ` [PATCH net-next 1/2] netfilter: resolve warnings about missing prototypes Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.