tools/llvm: Do not build with symbols
[minix3.git] / lib / libc / gen / _err.c
blob9b2024d8f6438e54d317dde4debd6f5d509d1d15
1 /* $NetBSD: _err.c,v 1.12 2011/07/17 20:54:34 joerg Exp $ */
3 /*
4 * J.T. Conklin, December 12, 1994
5 * Public Domain
6 */
8 #include <sys/cdefs.h>
9 #if defined(LIBC_SCCS) && !defined(lint)
10 __RCSID("$NetBSD: _err.c,v 1.12 2011/07/17 20:54:34 joerg Exp $");
11 #endif /* LIBC_SCCS and not lint */
13 #if defined(__indr_reference)
14 __indr_reference(_err, err)
15 #else
17 #include <stdarg.h>
19 __dead void _verr(int eval, const char *, va_list);
21 __dead void
22 err(int eval, const char *fmt, ...)
24 va_list ap;
26 va_start(ap, fmt);
27 _verr(eval, fmt, ap);
28 va_end(ap);
30 #endif