b6cbf7203b
This patch imports the unmodified current version of NetBSD libc. The NetBSD includes are in /nbsd_include, while the libc code itself is split between lib/nbsd_libc and common/lib/libc.
11 lines
334 B
C
11 lines
334 B
C
#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
|