make nf_ct_path[] static
Subsystems (3)
PATCH 1/1 make nf_ct_path[] static
This patch makes the needlessly global nf_ct_path[] static.
Signed-off-by Adrian Bunk <[email protected]>
---6396fbcebe3eb61f7e6eb1a671920a515912b005
net/netfilter/nf_conntrack_standalone.c +1 -1
@@ -380,7 +380,7 @@ static ctl_table nf_ct_netfilter_table[] = { { .ctl_name = 0 } }; -struct ctl_path nf_ct_path[] = { +static struct ctl_path nf_ct_path[] = { { .procname ="net" , .ctl_name =CTL_NET , }, { } };
Quoted 1 line · Adrian Bunk
This patch makes the needlessly global nf_ct_path[] static.
I already have this queued.
Quoted 3 lines · Adrian Bunk
This patch makes the needlessly global nf_ct_path[] static.
Signed-off-by Adrian Bunk <[email protected]>
Acked-by Pavel Emelyanov <[email protected]>
Thanks, Adrian!
Quoted 17 lines
---
6396fbcebe3eb61f7e6eb1a671920a515912b005net/netfilter/nf_conntrack_standalone.c +1
-1@@ -380,7 +380,7 @@ static ctl_table nf_ct_netfilter_table[] = { { .ctl_name = 0 } }; -struct ctl_path nf_ct_path[] = { +static struct ctl_path nf_ct_path[] = { { .procname ="net" , .ctl_name =CTL_NET , }, { } };