From fd1873110f8e57be578df17fc9d03536b10f4f73 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 10 Nov 2008 16:59:27 +0100 Subject: 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 --- ip6tables-standalone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ip6tables-standalone.c') diff --git a/ip6tables-standalone.c b/ip6tables-standalone.c index 5bdcd4fb..9a0b2b37 100644 --- a/ip6tables-standalone.c +++ b/ip6tables-standalone.c @@ -47,7 +47,7 @@ main(int argc, char *argv[]) { int ret; char *table = "filter"; - ip6tc_handle_t handle = NULL; + struct ip6tc_handle *handle = NULL; program_name = "ip6tables"; program_version = XTABLES_VERSION; -- cgit v1.2.3