A little libc namespace housekeeping exercise:
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(),
uuid_create_nil(), uuid_is_nil(), and wcwidth().
* Include namespace.h where supposed to.
2005-02-10 00:35:46 +03:00
|
|
|
#include "namespace.h"
|
2004-05-21 02:26:22 +04:00
|
|
|
#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
|