From 0b82e8e81e887843011c8771f70d2302901f7e5e Mon Sep 17 00:00:00 2001 From: Yasuyuki KOZAKAI Date: Tue, 24 Jul 2007 05:47:40 +0000 Subject: Moves ip[6]tables_insmod() to xtables.c as xtables_insmod() --- include/ip6tables.h | 2 -- include/iptables_common.h | 2 -- include/xtables.h | 3 +++ 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'include') 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 */ -- cgit v1.2.3