iptables: iptables: Remove exceptional & on function name
Subsystems (3)
PATCH 1/1 iptables: iptables: Remove exceptional & on function name
Remove & from function pointers to conform to the style found elsewhere in the file. Done using the following semantic patch
// <smpl>
@r@
identifier f;
@@
f(...) { ... }
@@
identifier r.f;
@@
- &f
+ f
// </smpl>
Signed-off-by Arushi Singhal <[email protected]>
--- iptables/ip6tables-save.c | 2 +- iptables/iptables-save.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
iptables/ip6tables-save.c +1 -1
@@ -66,7 +66,7 @@ static int do_output(const char *tablename)const char *chain =NULL ;if (!tablename) -return for_each_table (&do_output); +return for_each_table (do_output); h =ip6tc_init (tablename);if (h ==NULL ) {
iptables/iptables-save.c +1 -1
@@ -64,7 +64,7 @@ static int do_output(const char *tablename)const char *chain =NULL ;if (!tablename) -return for_each_table (&do_output); +return for_each_table (do_output); h =iptc_init (tablename);if (h ==NULL ) {
Signature · 1 line
2.11.0