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

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