ad4dda469f
This patch contains changes to NetBSD libc code base to make it compile and work on Minix. Some of them are due to actual NetBSD libc bugs, as we're compiling it in non-reentrant mode and with a.out support, something not exactly frequent in NetBSD. Others are proper fixes to port it to Minix (mostly sa_len parameter missing in socket and a few mmap from files).
26 lines
532 B
C
26 lines
532 B
C
/* $NetBSD: _verr.c,v 1.10 2005/09/13 01:44:09 christos 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.10 2005/09/13 01:44:09 christos Exp $");
|
|
#endif /* LIBC_SCCS and not lint */
|
|
|
|
#if defined(__indr_reference)
|
|
__indr_reference(_verr, verr)
|
|
#else
|
|
#include <sys/ansi.h>
|
|
|
|
__dead void _verr(int, const char *, _BSD_VA_LIST_);
|
|
|
|
void
|
|
verr(int eval, const char *fmt, _BSD_VA_LIST_ ap)
|
|
{
|
|
_verr(eval, fmt, ap);
|
|
}
|
|
|
|
#endif
|