projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d76e60a
)
[DCCP] ipv4: make struct dccp_v4_prot static
author
Adrian Bunk
<bunk@stusta.de>
Tue, 21 Mar 2006 05:58:29 +0000
(21:58 -0800)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/dccp/ipv4.c
b/net/dccp/ipv4.c
index 033c3ab8fe331ddf9eaeeaa073d27c272351dca1..3fe958eb4bf372c69c029529d219670fde8544a8 100644
(file)
--- 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 = {
+st
atic st
ruct proto dccp_v4_prot = {
.name = "DCCP",
.owner = THIS_MODULE,
.close = dccp_close,