mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
[DCCP] ipv4: make struct dccp_v4_prot static
There's no reason for struct dccp_v4_prot being global. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d76e60a5b5
commit
5e0817f84c
@ -1022,7 +1022,7 @@ static struct timewait_sock_ops dccp_timewait_sock_ops = {
|
||||
.twsk_obj_size = sizeof(struct inet_timewait_sock),
|
||||
};
|
||||
|
||||
struct proto dccp_v4_prot = {
|
||||
static struct proto dccp_v4_prot = {
|
||||
.name = "DCCP",
|
||||
.owner = THIS_MODULE,
|
||||
.close = dccp_close,
|
||||
|
Loading…
Reference in New Issue
Block a user