diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-02-10 10:51:25 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-02-10 10:52:17 +0100 |
commit | 47a6fd9ec9891a8040eb8fd6db3c5012c1056061 (patch) | |
tree | d54e564ce10db82c9ee6c5ebcdb5271cab949662 /include | |
parent | c31870f9bebb3d4d082016fcfaf8c2177ae32eb2 (diff) |
src: consolidate duplicate code in iptables/internal.h
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/ip6tables.h | 2 | ||||
-rw-r--r-- | include/iptables.h | 2 | ||||
-rw-r--r-- | include/iptables/internal.h.in | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/include/ip6tables.h b/include/ip6tables.h index 98f2da5c..86587e6f 100644 --- a/include/ip6tables.h +++ b/include/ip6tables.h @@ -6,8 +6,6 @@ #include <libiptc/libip6tc.h> #include <iptables/internal.h> -extern int line; - /* Your shared library should call one of these. */ extern int do_command6(int argc, char *argv[], char **table, struct ip6tc_handle **handle); diff --git a/include/iptables.h b/include/iptables.h index d309059e..f0aa3455 100644 --- a/include/iptables.h +++ b/include/iptables.h @@ -6,8 +6,6 @@ #include <libiptc/libiptc.h> #include <iptables/internal.h> -extern int line; - /* Your shared library should call one of these. */ extern int do_command(int argc, char *argv[], char **table, struct iptc_handle **handle); diff --git a/include/iptables/internal.h.in b/include/iptables/internal.h.in index 849e1722..8568e581 100644 --- a/include/iptables/internal.h.in +++ b/include/iptables/internal.h.in @@ -8,4 +8,6 @@ */ extern const char *program_name, *program_version; +extern int line; + #endif /* IPTABLES_INTERNAL_H */ |