Author: biurrun Date: Thu Nov 19 15:41:13 2009 New Revision: 1717 Log: Remove unused IPV6_TO_IPV4_MAP and IPV6_EQ_IPV4 macros. Modified: trunk/libpisa/util.h Modified: trunk/libpisa/util.h ============================================================================== --- trunk/libpisa/util.h Thu Nov 19 15:37:41 2009 (r1716) +++ trunk/libpisa/util.h Thu Nov 19 15:41:13 2009 (r1717) @@ -62,14 +62,6 @@ (in6_addr_to)->s6_addr32[2] = htonl(0xffff); \ (in6_addr_to)->s6_addr32[3] = (uint32_t) ((in_addr_from)->s_addr);} -#define IPV6_TO_IPV4_MAP(in6_addr_from,in_addr_to) \ - { ((in_addr_to)->s_addr) = \ - ((in6_addr_from)->s6_addr32[3]); } - -#define IPV6_EQ_IPV4(in6_addr_a,in_addr_b) \ - ( IN6_IS_ADDR_V4MAPPED(in6_addr_a) && \ - ((in6_addr_a)->s6_addr32[3] == (in_addr_b)->s_addr)) - /** * wrapper functions for memory allocation. * for malloc(), realloc() and free().