OSDN Git Service

net: Include appropriate header file in netfilter/nft_lookup.c
authorRashika Kheria <rashika.kheria@gmail.com>
Sun, 9 Feb 2014 17:01:42 +0000 (22:31 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Feb 2014 01:32:50 +0000 (17:32 -0800)
commitbd76ed36bac50b5402fd09c3fc2f368ef324ffe2
tree4ac6cea9fdf8ba7b4224b2ef2a558e2d6a4cf278
parent535d3ae9c808e6a5248f0524dbc7a9e997cf3288
net: Include appropriate header file in netfilter/nft_lookup.c

Include appropriate header file net/netfilter/nf_tables_core.h in
net/netfilter/nft_lookup.c because it has prototype declaration of
functions defined in net/netfilter/nft_lookup.c.

This eliminates the following warning in net/netfilter/nft_lookup.c:
net/netfilter/nft_lookup.c:133:12: warning: no previous prototype for ‘nft_lookup_module_init’ [-Wmissing-prototypes]
net/netfilter/nft_lookup.c:138:6: warning: no previous prototype for ‘nft_lookup_module_exit’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nft_lookup.c