chiark / gitweb /
src/types.c: Remove some unused macros.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 31 May 2014 14:05:17 +0000 (15:05 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 13 Jun 2014 08:57:40 +0000 (09:57 +0100)
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
src/types.c

index 36ff879..463d6fc 100644 (file)
@@ -1245,9 +1245,6 @@ static void mf_flat(adns_query qu, void *data) { }
 
 #define TYPESZ_M(member)           (sizeof(*((adns_answer*)0)->rrs.member))
 
-#define DEEP_MEMB(memb) TYPESZ_M(memb), mf_##memb, cs_##memb
-#define FLAT_MEMB(memb) TYPESZ_M(memb), mf_flat, cs_##memb
-
 #define DEEP_TYPE(code,rrt,fmt,memb,parser,comparer,printer)   \
  { adns_r_##code, rrt,fmt,TYPESZ_M(memb), mf_##memb,           \
       printer,parser,comparer, adns__qdpl_normal,0 }