libxtables: simple aliasing macro for exit_error
commit8b7baebc93989106fd5d26b262d0ce191f8ef7c0
authorJamal Hadi Salim <hadi@cyberus.ca>
Wed, 11 Feb 2009 12:05:43 +0000 (11 13:05 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 11 Feb 2009 12:05:43 +0000 (11 13:05 +0100)
tree7f320fe1b60ff07e537149541da0f46316631996
parent7878483dfaf91adcdb7e8e88c93ded82312af39a
libxtables: simple aliasing macro for exit_error

Rename xtables_globals exit_error cb to exit_err and introduce
a very simple aliasing macro to point to it.
convert iptables, ip6tables and iptables_xml to use it.
Note iptables_xml does not have to define its own exit_error()
since it can use the basic one provided.

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/xtables.h.in
ip6tables.c
iptables-xml.c
iptables.c
xtables.c