From c02e80878979d2205f3d89d05548397871e598e9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 10 Feb 2009 10:40:15 +0100 Subject: libxtables: decouple non-xtables parts from header Signed-off-by: Jan Engelhardt --- include/xtables.h.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/xtables.h.in') 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 + +extern void _init(void); + #endif #endif /* _XTABLES_H */ -- cgit v1.2.3