netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Maciej Żenczykowski" <zenczykowski@gmail.com>
To: "Maciej Żenczykowski" <maze@google.com>
Cc: netfilter-devel@vger.kernel.org, "Maciej Żenczykowski" <maze@google.com>
Subject: [PATCH] convert ip6?tables-multi to actually use their own header files
Date: Mon,  4 Apr 2011 22:44:23 -0700	[thread overview]
Message-ID: <1301982263-32339-1-git-send-email-zenczykowski@gmail.com> (raw)

From: Maciej Żenczykowski <maze@google.com>

Signed-off-by: Maciej Zenczykowski <maze@google.com>
---
 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2011-04-05  5:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-05  5:44 Maciej Żenczykowski [this message]
2011-04-05 10:43 ` [PATCH] convert ip6?tables-multi to actually use their own header files Patrick McHardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1301982263-32339-1-git-send-email-zenczykowski@gmail.com \
    --to=zenczykowski@gmail.com \
    --cc=maze@google.com \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).