Home | History | Annotate | Line # | Download | only in include
      1 #include "namespace.h"
      2 #include <sys/cdefs.h>
      3 #define ISC_FORMAT_PRINTF(a,b) __attribute__((__format__(__printf__,a,b)))
      4 #define ISC_SOCKLEN_T	socklen_t
      5 #ifdef __NetBSD__
      6 #define DE_CONST(c,v)	v = __UNCONST(c)
      7 #else
      8 #define DE_CONST(c,v)	v = ((c) ? \
      9 	strchr((const void *)(c), *(const char *)(const void *)(c)) : NULL)
     10 #endif
     11 #ifndef lint
     12 #define UNUSED(a)	(void)&a
     13 #else
     14 #define UNUSED(a)	a = a
     15 #endif
     16