NetBSD/lib/libc/gen/_verrx.c
joerg 3eb244d801 Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
2011-07-17 20:54:30 +00:00

28 lines
519 B
C

/* $NetBSD: _verrx.c,v 1.11 2011/07/17 20:54:34 joerg Exp $ */
/*
* J.T. Conklin, December 12, 1994
* Public Domain
*/
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: _verrx.c,v 1.11 2011/07/17 20:54:34 joerg Exp $");
#endif /* LIBC_SCCS and not lint */
#include <stdarg.h>
#if defined(__indr_reference)
__indr_reference(_verrx, verrx)
#else
__dead void _verrx(int, const char *, va_list);
void
verrx(int eval, const char *fmt, va_list ap)
{
_verrx(eval, fmt, ap);
}
#endif