path: root/ip6tables-save.c
diff options
authorJan Engelhardt <>2008-11-10 16:59:27 +0100
committerPatrick McHardy <>2008-11-10 16:59:27 +0100
commitfd1873110f8e57be578df17fc9d03536b10f4f73 (patch)
treea75c7f77ffef9cc09d32a7b1158a3cb05583d464 /ip6tables-save.c
parent5a942f9501f7ce287e1c37c553eb02a1e269e081 (diff)
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 <> Signed-off-by: Patrick McHardy <>
Diffstat (limited to 'ip6tables-save.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/ip6tables-save.c b/ip6tables-save.c
index 7b03d7c2..360f0e4f 100644
--- a/ip6tables-save.c
+++ b/ip6tables-save.c
@@ -61,7 +61,7 @@ static int for_each_table(int (*func)(const char *tablename))
static int do_output(const char *tablename)
- ip6tc_handle_t h;
+ struct ip6tc_handle *h;
const char *chain = NULL;
if (!tablename)