summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ip6tables.h2
-rw-r--r--include/iptables_common.h2
-rw-r--r--include/xtables.h3
3 files changed, 3 insertions, 4 deletions
diff --git a/include/ip6tables.h b/include/ip6tables.h
index 8afe2ce3..b6757a32 100644
--- a/include/ip6tables.h
+++ b/include/ip6tables.h
@@ -174,8 +174,6 @@ extern void parse_interface(const char *arg, char *vianame, unsigned char *mask)
extern int for_each_chain(int (*fn)(const ip6t_chainlabel, int, ip6tc_handle_t *), int verbose, int builtinstoo, ip6tc_handle_t *handle);
extern int flush_entries(const ip6t_chainlabel chain, int verbose, ip6tc_handle_t *handle);
extern int delete_chain(const ip6t_chainlabel chain, int verbose, ip6tc_handle_t *handle);
-extern int
-ip6tables_insmod(const char *modname, const char *modprobe, int quiet);
extern int load_ip6tables_ko(const char *modprobe, int quiet);
#endif /*_IP6TABLES_USER_H*/
diff --git a/include/iptables_common.h b/include/iptables_common.h
index 3b29327b..3b61e72d 100644
--- a/include/iptables_common.h
+++ b/include/iptables_common.h
@@ -27,8 +27,6 @@ extern int string_to_number_ll(const char *,
unsigned long long int,
unsigned long long int,
unsigned long long *);
-extern int
-iptables_insmod(const char *modname, const char *modprobe, int quiet);
extern int load_iptables_ko(const char *modprobe, int quiet);
void exit_error(enum exittype, char *, ...)__attribute__((noreturn,
format(printf,2,3)));
diff --git a/include/xtables.h b/include/xtables.h
index 6ef13fe1..97395f3f 100644
--- a/include/xtables.h
+++ b/include/xtables.h
@@ -4,4 +4,7 @@
extern void *fw_calloc(size_t count, size_t size);
extern void *fw_malloc(size_t size);
+extern const char *modprobe;
+extern int xtables_insmod(const char *modname, const char *modprobe, int quiet);
+
#endif /* _XTABLES_H */