summaryrefslogtreecommitdiffstats
path: root/include/xtables.h.in
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-02-10 10:40:15 +0100
committerJan Engelhardt <jengelh@medozas.de>2009-02-10 10:52:06 +0100
commitc02e80878979d2205f3d89d05548397871e598e9 (patch)
treef657af3687de34aa9680816eda93c86c0535bad0 /include/xtables.h.in
parentb6601f3a4f65d0956dd829b63c503875b10d5c74 (diff)
libxtables: decouple non-xtables parts from header
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include/xtables.h.in')
-rw-r--r--include/xtables.h.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/xtables.h.in b/include/xtables.h.in
index 02750fb9..1455e9cd 100644
--- a/include/xtables.h.in
+++ b/include/xtables.h.in
@@ -258,10 +258,15 @@ extern const struct xtables_pprot xtables_chain_protos[];
extern u_int16_t xtables_parse_protocol(const char *s);
#ifdef XTABLES_INTERNAL
+
+/* Shipped modules rely on this... */
+
# ifndef ARRAY_SIZE
# define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)))
# endif
-# include <xtables/internal.h>
+
+extern void _init(void);
+
#endif
#endif /* _XTABLES_H */