From: Maciej Åenczykowski <maze@xxxxxxxxxx> Signed-off-by: Maciej Zenczykowski <maze@xxxxxxxxxx> --- ip6tables-multi.c | 5 +---- iptables-multi.c | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/ip6tables-multi.c b/ip6tables-multi.c index 7e6603f..40ce37b 100644 --- a/ip6tables-multi.c +++ b/ip6tables-multi.c @@ -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}, diff --git a/iptables-multi.c b/iptables-multi.c index 754b587..14579e0 100644 --- a/iptables-multi.c +++ b/iptables-multi.c @@ -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}, -- 1.7.3.1 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html