[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 033c3ab..3fe958e 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,