add opendir alias
[minix.git] / lib / libc / include / port_before.h
blob36217ac54ed2d0beab74e47aa452b640e48d8f03
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