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