Skip to content

Commit 5e0817f

Browse files
AdrianBunkdavem330
authored andcommitted
[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>
1 parent d76e60a commit 5e0817f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎net/dccp/ipv4.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ static struct timewait_sock_ops dccp_timewait_sock_ops = {
10221022
.twsk_obj_size = sizeof(struct inet_timewait_sock),
10231023
};
10241024

1025-
struct proto dccp_v4_prot = {
1025+
static struct proto dccp_v4_prot = {
10261026
.name = "DCCP",
10271027
.owner = THIS_MODULE,
10281028
.close = dccp_close,

0 commit comments

Comments
 (0)