Home | History | Annotate | Line # | Download | only in include
port_before.h revision 1.3.50.1
      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.3.50.1       tls #ifdef __NetBSD__
      6  1.3.50.1       tls #define DE_CONST(c,v)	v = __UNCONST(c)
      7  1.3.50.1       tls #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.3.50.1       tls #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