netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/13] Remove stray NULLs
@ 2007-10-04 10:11 Jan Engelhardt
  2007-10-04 10:11 ` [PATCH 02/14] Delete empty ->init() functions Jan Engelhardt
                   ` (12 more replies)
  0 siblings, 13 replies; 16+ messages in thread
From: Jan Engelhardt @ 2007-10-04 10:11 UTC (permalink / raw)
  To: Netfilter Developer Mailing List


Mixing member accessors (non-named vs named) is not good.
Remove stray NULL.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>

---
 extensions/libip6t_HL.c        |    2 +-
 extensions/libipt_MASQUERADE.c |    2 +-
 extensions/libipt_realm.c      |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Index: iptables/extensions/libip6t_HL.c
===================================================================
--- iptables.orig/extensions/libip6t_HL.c
+++ iptables/extensions/libip6t_HL.c
@@ -146,7 +146,7 @@ static const struct option opts[] = {
 };
 
 static
-struct ip6tables_target HL = { NULL, 
+struct ip6tables_target HL = {
 	.name 		= "HL",
 	.version	= IPTABLES_VERSION,
 	.size		= IP6T_ALIGN(sizeof(struct ip6t_HL_info)),
Index: iptables/extensions/libipt_MASQUERADE.c
===================================================================
--- iptables.orig/extensions/libipt_MASQUERADE.c
+++ iptables/extensions/libipt_MASQUERADE.c
@@ -161,7 +161,7 @@ save(const void *ip, const struct xt_ent
 		printf("--random ");
 }
 
-static struct iptables_target masq = { NULL,
+static struct iptables_target masq = {
 	.name		= "MASQUERADE",
 	.version	= IPTABLES_VERSION,
 	.size		= IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
Index: iptables/extensions/libipt_realm.c
===================================================================
--- iptables.orig/extensions/libipt_realm.c
+++ iptables/extensions/libipt_realm.c
@@ -250,7 +250,7 @@ final_check(unsigned int flags)
 			   "realm match: You must specify `--realm'");
 }
 
-static struct iptables_match realm = { NULL,
+static struct iptables_match realm = {
 	.name		= "realm",
 	.version	= IPTABLES_VERSION,
 	.size		= IPT_ALIGN(sizeof(struct ipt_realm_info)),


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2007-10-04 16:29 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-04 10:11 [PATCH 01/13] Remove stray NULLs Jan Engelhardt
2007-10-04 10:11 ` [PATCH 02/14] Delete empty ->init() functions Jan Engelhardt
2007-10-04 10:11 ` [PATCH 03/14] Delete empty ->final_check() functions Jan Engelhardt
2007-10-04 10:11 ` [PATCH 04/14] Delete empty ->print() and ->save() functions Jan Engelhardt
2007-10-04 10:12 ` [PATCH 05/13] Constify data structures Jan Engelhardt
2007-10-04 10:12 ` [PATCH 06/13] No ipt in xt Jan Engelhardt
2007-10-04 10:12 ` [PATCH 07/13] Unique symbols 1/6 Jan Engelhardt
2007-10-04 10:12 ` [PATCH 08/13] Unique names 2/6 Jan Engelhardt
2007-10-04 10:13 ` [PATCH 09/13] Unique names 3/6 Jan Engelhardt
2007-10-04 10:13 ` [PATCH 10/13] Unique names 4/6 Jan Engelhardt
2007-10-04 10:13 ` [PATCH 11/13] Unique names 5/6 Jan Engelhardt
2007-10-04 10:13 ` [PATCH 12/13] Unique symbols 6/6 Jan Engelhardt
2007-10-04 10:13 ` [PATCH 13/13] Remove redundant dst/hbh lines Jan Engelhardt
2007-10-04 10:14 ` [PATCH */13] That sums it up Jan Engelhardt
2007-10-04 10:18   ` Jan Engelhardt
2007-10-04 16:28   ` Patrick McHardy

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).