summaryrefslogtreecommitdiff
path: root/lib/libc/include/port_before.h
blob: 36217ac54ed2d0beab74e47aa452b640e48d8f03 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "namespace.h"
#include <sys/cdefs.h>
#define ISC_FORMAT_PRINTF(a,b) __attribute__((__format__(__printf__,a,b)))
#define ISC_SOCKLEN_T	socklen_t
#define DE_CONST(c,v)	v = ((c) ? \
	strchr((const void *)(c), *(const char *)(const void *)(c)) : NULL)
#ifndef lint
#define UNUSED(a)	(void)&a
#else
#define UNUSED(a)	a = a
#endif