diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-07-23 20:21:45 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-07-25 18:27:15 +0200 |
commit | 4186f8aa0b113ea1a52aa90292ff89b96bed9c39 (patch) | |
tree | fc1309f1f30e196a36a9b852c81dd725d035d311 | |
parent | de054f7709b20c97d3e1f16465d5617d9e7683d5 (diff) |
build: fix struct size mismatch
Mixing code compiled with and without -DNO_SHARED_LIBS is fine as
long as the structs have the same layout. This patch prevents a
potential (currently non-triggerable) "ip6tables: target (null)<123>
is missing a version" error.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
-rw-r--r-- | include/xtables.h.in | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/xtables.h.in b/include/xtables.h.in index 222e2a9f..7468302c 100644 --- a/include/xtables.h.in +++ b/include/xtables.h.in @@ -90,9 +90,7 @@ struct xtables_match unsigned int option_offset; struct xt_entry_match *m; unsigned int mflags; -#ifdef NO_SHARED_LIBS unsigned int loaded; /* simulate loading so options are merged properly */ -#endif }; struct xtables_target @@ -152,9 +150,7 @@ struct xtables_target struct xt_entry_target *t; unsigned int tflags; unsigned int used; -#ifdef NO_SHARED_LIBS unsigned int loaded; /* simulate loading so options are merged properly */ -#endif }; struct xtables_rule_match { |