2012-11-15 12:06:41 +01:00
|
|
|
/* $NetBSD: _vwarnx.c,v 1.11 2011/07/17 20:54:34 joerg Exp $ */
|
2011-02-14 20:36:03 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* J.T. Conklin, December 12, 1994
|
|
|
|
* Public Domain
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
#if defined(LIBC_SCCS) && !defined(lint)
|
2012-11-15 12:06:41 +01:00
|
|
|
__RCSID("$NetBSD: _vwarnx.c,v 1.11 2011/07/17 20:54:34 joerg Exp $");
|
2011-02-14 20:36:03 +01:00
|
|
|
#endif /* LIBC_SCCS and not lint */
|
|
|
|
|
2012-11-15 12:06:41 +01:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
2011-02-14 20:36:03 +01:00
|
|
|
#if defined(__indr_reference)
|
|
|
|
__indr_reference(_vwarnx, vwarnx)
|
|
|
|
#else
|
|
|
|
|
2012-11-15 12:06:41 +01:00
|
|
|
void _vwarnx(const char *, va_list);
|
2011-02-14 20:36:03 +01:00
|
|
|
|
|
|
|
void
|
2012-11-15 12:06:41 +01:00
|
|
|
vwarnx(const char *fmt, va_list ap)
|
2011-02-14 20:36:03 +01:00
|
|
|
{
|
|
|
|
_vwarnx(fmt, ap);
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|