DCCP protocol discussions
 help / color / mirror / Atom feed
* [PATCH 1/3] [DCCP] ipv4: make struct dccp_v4_prot static
@ 2006-02-25 21:16 Arnaldo Carvalho de Melo
  0 siblings, 0 replies; only message in thread
From: Arnaldo Carvalho de Melo @ 2006-02-25 21:16 UTC (permalink / raw)
  To: dccp

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>

---

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

16106bb9b047c6a60190f11a674d804bdf1f8320
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
index 033c3ab..3fe958e 100644
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -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,
-- 
1.2.2.gd27d



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-25 21:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-25 21:16 [PATCH 1/3] [DCCP] ipv4: make struct dccp_v4_prot static Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox