From: Adrian Bunk Date: Tue, 21 Mar 2006 05:58:29 +0000 (-0800) Subject: [DCCP] ipv4: make struct dccp_v4_prot static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5e0817f84c33285c2ac7d3848e8896d025b5deff;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [DCCP] ipv4: make struct dccp_v4_prot static There's no reason for struct dccp_v4_prot being global. Signed-off-by: Adrian Bunk Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 033c3ab8fe33..3fe958eb4bf3 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c @@ -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,