xref: /netbsd/lib/libc/include/port_before.h (revision 6550d01e)
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 #define DE_CONST(c,v)	v = ((c) ? \
6 	strchr((const void *)(c), *(const char *)(const void *)(c)) : NULL)
7 #ifndef lint
8 #define UNUSED(a)	(void)&a
9 #else
10 #define UNUSED(a)	a = a
11 #endif
12