diff options
author | Maciej Zenczykowski <maze@google.com> | 2011-04-05 12:42:37 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2011-04-05 12:42:37 +0200 |
commit | 37911de507d0597980ad218a044a482501a21b01 (patch) | |
tree | f0f016508aa034d594b45ed6f1ca976fe524627f /ip6tables.c | |
parent | 742e9a43c314b45a76acdac8f53d36f1337154bf (diff) |
move 'int line' definition from ip6?tables.c into xtables.c
Signed-off-by: Maciej Zenczykowski <maze@google.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'ip6tables.c')
-rw-r--r-- | ip6tables.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ip6tables.c b/ip6tables.c index 15508d6e..ea9a7abf 100644 --- a/ip6tables.c +++ b/ip6tables.c @@ -127,12 +127,6 @@ static struct option original_opts[] = { {NULL}, }; -/* we need this for ip6tables-restore. ip6tables-restore.c sets line to the - * current line of the input file, in order to give a more precise error - * message. ip6tables itself doesn't need this, so it is initialized to the - * magic number of -1 */ -int line = -1; - void ip6tables_exit_error(enum xtables_exittype status, const char *msg, ...) __attribute__((noreturn, format(printf,2,3))); struct xtables_globals ip6tables_globals = { .option_offset = 0, |