libiptc: remove typedef indirection
commitfd1873110f8e57be578df17fc9d03536b10f4f73
authorJan Engelhardt <jengelh@medozas.de>
Mon, 10 Nov 2008 15:59:27 +0000 (10 16:59 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 10 Nov 2008 15:59:27 +0000 (10 16:59 +0100)
treea75c7f77ffef9cc09d32a7b1158a3cb05583d464
parent5a942f9501f7ce287e1c37c553eb02a1e269e081
libiptc: remove typedef indirection

Don't you hate it when iptc_handle_t *x actually is a double-indirection
struct iptc_handle **? This also shows the broken constness model, since
"const iptc_handle_t x" = "iptc_handle_t const x" =
"struct iptc_handle *const x", which is like no const at all.
Lots of things to do then.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
15 files changed:
include/ip6tables.h
include/iptables.h
include/libiptc/libip6tc.h
include/libiptc/libiptc.h
ip6tables-restore.c
ip6tables-save.c
ip6tables-standalone.c
ip6tables.c
iptables-restore.c
iptables-save.c
iptables-standalone.c
iptables.c
libiptc/libip4tc.c
libiptc/libip6tc.c
libiptc/libiptc.c