summaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-03-20 21:58:29 -0800
committerDavid S. Miller <davem@davemloft.net>2006-03-20 21:58:29 -0800
commit5e0817f84c33285c2ac7d3848e8896d025b5deff (patch)
treec394b80761d68d57128775da1e6832df4ff2170b /net/dccp
parentd76e60a5b510bab0af130fca9f4ed06499be4d2f (diff)
downloadblackbird-op-linux-5e0817f84c33285c2ac7d3848e8896d025b5deff.tar.gz
blackbird-op-linux-5e0817f84c33285c2ac7d3848e8896d025b5deff.zip
[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>
Diffstat (limited to 'net/dccp')
-rw-r--r--net/dccp/ipv4.c2
1 files changed, 1 insertions, 1 deletions
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,
OpenPOWER on IntegriCloud