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>
This commit is contained in:

committed by
David S. Miller

parent
0144a81ccc
commit
7e3ea6d5c4
@@ -166,6 +166,9 @@ void sctp_remaddr_proc_exit(struct net *net);
|
||||
*/
|
||||
extern struct kmem_cache *sctp_chunk_cachep __read_mostly;
|
||||
extern struct kmem_cache *sctp_bucket_cachep __read_mostly;
|
||||
extern long sysctl_sctp_mem[3];
|
||||
extern int sysctl_sctp_rmem[3];
|
||||
extern int sysctl_sctp_wmem[3];
|
||||
|
||||
/*
|
||||
* Section: Macros, externs, and inlines
|
||||
|
Reference in New Issue
Block a user