/* $NetBSD: _warn.c,v 1.10 2005/09/13 01:44:09 christos Exp $ */ /* * J.T. Conklin, December 12, 1994 * Public Domain */ #include #if defined(LIBC_SCCS) && !defined(lint) __RCSID("$NetBSD: _warn.c,v 1.10 2005/09/13 01:44:09 christos Exp $"); #endif /* LIBC_SCCS and not lint */ #if defined(__indr_reference) __indr_reference(_warn, warn) #else #include void _vwarn(const char *, _BSD_VA_LIST_); void warn(const char *fmt, ...) { va_list ap; va_start(ap, fmt); _vwarn(fmt, ap); va_end(ap); } #endif