NetBSD/lib/libc/gen/_verr.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
512 B
C

/* $NetBSD: _verr.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: _verr.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(_verr, verr)
#else
__dead void _verr(int, const char *, va_list);
void
verr(int eval, const char *fmt, va_list ap)
{
_verr(eval, fmt, ap);
}
#endif