diff options
author | Paul Gortmaker | 2011-07-15 17:47:34 +0200 |
---|---|---|
committer | Paul Gortmaker | 2011-11-01 00:30:30 +0100 |
commit | bc3b2d7fb9b014d75ebb79ba371a763dbab5e8cf (patch) | |
tree | b0fd4e724bdb1c0a1783616614ae5a9dec1cfa5c /net/netfilter/ipset | |
parent | net: add moduleparam.h for users of module_param/MODULE_PARM_DESC (diff) | |
download | kernel-qcow2-linux-bc3b2d7fb9b014d75ebb79ba371a763dbab5e8cf.tar.gz kernel-qcow2-linux-bc3b2d7fb9b014d75ebb79ba371a763dbab5e8cf.tar.xz kernel-qcow2-linux-bc3b2d7fb9b014d75ebb79ba371a763dbab5e8cf.zip |
net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modules
These files are non modular, but need to export symbols using
the macros now living in export.h -- call out the include so
that things won't break when we remove the implicit presence
of module.h from everywhere.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/netfilter/ipset')
-rw-r--r-- | net/netfilter/ipset/ip_set_getport.c | 1 | ||||
-rw-r--r-- | net/netfilter/ipset/pfxlen.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/net/netfilter/ipset/ip_set_getport.c b/net/netfilter/ipset/ip_set_getport.c index 757143b2240a..052579fe389a 100644 --- a/net/netfilter/ipset/ip_set_getport.c +++ b/net/netfilter/ipset/ip_set_getport.c @@ -17,6 +17,7 @@ #include <net/ipv6.h> #include <linux/netfilter/ipset/ip_set_getport.h> +#include <linux/export.h> /* We must handle non-linear skbs */ static bool diff --git a/net/netfilter/ipset/pfxlen.c b/net/netfilter/ipset/pfxlen.c index bd13d66220f1..4f29fa97044b 100644 --- a/net/netfilter/ipset/pfxlen.c +++ b/net/netfilter/ipset/pfxlen.c @@ -1,3 +1,4 @@ +#include <linux/export.h> #include <linux/netfilter/ipset/pfxlen.h> /* |