b6cbf7203b
This patch imports the unmodified current version of NetBSD libc. The NetBSD includes are in /nbsd_include, while the libc code itself is split between lib/nbsd_libc and common/lib/libc.
26 lines
530 B
C
26 lines
530 B
C
/* $NetBSD: _catopen.c,v 1.7 2005/09/13 01:44:10 christos Exp $ */
|
|
|
|
/*
|
|
* Written by J.T. Conklin, 10/05/94
|
|
* Public domain.
|
|
*/
|
|
|
|
#include <sys/cdefs.h>
|
|
#if defined(LIBC_SCCS) && !defined(lint)
|
|
__RCSID("$NetBSD: _catopen.c,v 1.7 2005/09/13 01:44:10 christos Exp $");
|
|
#endif /* LIBC_SCCS and not lint */
|
|
|
|
#if defined(__indr_reference)
|
|
__indr_reference(_catopen, catopen)
|
|
#else
|
|
|
|
#include <nl_types.h>
|
|
nl_catd _catopen(__const char *, int);
|
|
|
|
nl_catd
|
|
catopen(__const char *name, int oflag)
|
|
{
|
|
return _catopen(name, oflag);
|
|
}
|
|
|
|
#endif
|