Skip to contentSkip to conversation

ipv4: make struct dccp_v4_prot static

PATCH New Arnaldo Carvalho de Melo 1 participant 1 message Feb 25, 2006 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 ipv4: make struct dccp_v4_prot static

There's no reason for struct dccp_v4_prot being global.

---

 net/dccp/ipv4.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

16106bb9b047c6a60190f11a674d804bdf1f8320

net/dccp/ipv4.c +1 -1
index 033c3ab..3fe958e 100644
@@ -1022,7 +1022,7 @@ static struct timewait_sock_ops dccp_tim
 	.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,
Signature · 1 line
1.2.2.gd27d