diff options
author | Ying Xue <ying.xue@windriver.com> | 2015-03-25 02:13:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-25 11:40:16 -0400 |
commit | 7e3ea6d5c4f4880dbdf85f4083f40d8a3dc9b906 (patch) | |
tree | 0ec5daee4af10d7e98b7c22a51a582dae5a60875 /include/net/sctp/sctp.h | |
parent | 0144a81cccf7532bead90f0542f517bd028d3b3c (diff) |
sctp: avoid to repeatedly declare external variables
Move the declaration for external variables to sctp.h file avoiding
to repeatedly declare them with extern keyword.
Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp/sctp.h')
-rw-r--r-- | include/net/sctp/sctp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h index 856f01cb51dd..c56a438c3a1e 100644 --- a/include/net/sctp/sctp.h +++ b/include/net/sctp/sctp.h | |||
@@ -166,6 +166,9 @@ void sctp_remaddr_proc_exit(struct net *net); | |||
166 | */ | 166 | */ |
167 | extern struct kmem_cache *sctp_chunk_cachep __read_mostly; | 167 | extern struct kmem_cache *sctp_chunk_cachep __read_mostly; |
168 | extern struct kmem_cache *sctp_bucket_cachep __read_mostly; | 168 | extern struct kmem_cache *sctp_bucket_cachep __read_mostly; |
169 | extern long sysctl_sctp_mem[3]; | ||
170 | extern int sysctl_sctp_rmem[3]; | ||
171 | extern int sysctl_sctp_wmem[3]; | ||
169 | 172 | ||
170 | /* | 173 | /* |
171 | * Section: Macros, externs, and inlines | 174 | * Section: Macros, externs, and inlines |