convert ip6?tables-multi to actually use their own header files
PATCH 1/1 convert ip6?tables-multi to actually use their own header files
From: Maciej Żenczykowski <[email protected]>
Signed-off-by Maciej Zenczykowski <[email protected]>
--- ip6tables-multi.c | 5 +---- iptables-multi.c | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-)
ip6tables-multi.c +1 -4
@@ -2,10 +2,7 @@#include <stdlib.h> #include <string.h> #include "xshared.h" - -int ip6tables_main (int argc,char **argv); -int ip6tables_save_main (int argc,char **argv); -int ip6tables_restore_main (int argc,char **argv); +#include "ip6tables-multi.h" static const struct subcommand multi6_subcommands[] = { {"ip6tables" , ip6tables_main},
iptables-multi.c +1 -5
@@ -2,11 +2,7 @@#include <stdlib.h> #include <string.h> #include "xshared.h" - -int iptables_main (int argc,char **argv); -int iptables_save_main (int argc,char **argv); -int iptables_restore_main (int argc,char **argv); -int iptables_xml_main (int argc,char **argv); +#include "iptables-multi.h" static const struct subcommand multi4_subcommands[] = { {"iptables" , iptables_main},
Signature · 6 lines
1.7.3.1 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 1 line · Maciej Żenczykowski
From: Maciej Żenczykowski <[email protected]>
Also applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html