diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-15 11:47:34 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:30:30 -0400 |
commit | bc3b2d7fb9b014d75ebb79ba371a763dbab5e8cf (patch) | |
tree | b0fd4e724bdb1c0a1783616614ae5a9dec1cfa5c /net/sctp | |
parent | d9b9384215e17c68d7b6bd05d6fa409e5d4140d7 (diff) |
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/sctp')
-rw-r--r-- | net/sctp/proc.c | 1 | ||||
-rw-r--r-- | net/sctp/socket.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/net/sctp/proc.c b/net/sctp/proc.c index 05a6ce214714..1e2eee88c3ea 100644 --- a/net/sctp/proc.c +++ b/net/sctp/proc.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include <linux/types.h> | 37 | #include <linux/types.h> |
38 | #include <linux/seq_file.h> | 38 | #include <linux/seq_file.h> |
39 | #include <linux/init.h> | 39 | #include <linux/init.h> |
40 | #include <linux/export.h> | ||
40 | #include <net/sctp/sctp.h> | 41 | #include <net/sctp/sctp.h> |
41 | #include <net/ip.h> /* for snmp_fold_field */ | 42 | #include <net/ip.h> /* for snmp_fold_field */ |
42 | 43 | ||
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index 836aa63ee121..13bf5fcdbff1 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c | |||
@@ -78,6 +78,7 @@ | |||
78 | #include <net/inet_common.h> | 78 | #include <net/inet_common.h> |
79 | 79 | ||
80 | #include <linux/socket.h> /* for sa_family_t */ | 80 | #include <linux/socket.h> /* for sa_family_t */ |
81 | #include <linux/export.h> | ||
81 | #include <net/sock.h> | 82 | #include <net/sock.h> |
82 | #include <net/sctp/sctp.h> | 83 | #include <net/sctp/sctp.h> |
83 | #include <net/sctp/sm.h> | 84 | #include <net/sctp/sm.h> |