[DCCP] ipv4: make struct dccp_v4_prot static
authorAdrian Bunk <bunk@stusta.de>
Tue, 21 Mar 2006 05:58:29 +0000 (21:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 05:58:29 +0000 (21:58 -0800)
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>
net/dccp/ipv4.c

index 033c3ab8fe331ddf9eaeeaa073d27c272351dca1..3fe958eb4bf372c69c029529d219670fde8544a8 100644 (file)
@@ -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,