NetBSD/lib/libc/nls/catopen.c
jtc f86410093b Changed name of __weak_reference() to __indr_reference(). They really
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +00:00

27 lines
397 B
C

/* $NetBSD: catopen.c,v 1.5 1995/03/23 19:59:06 jtc Exp $ */
/*
* Written by J.T. Conklin, 10/05/94
* Public domain.
*/
#include <sys/cdefs.h>
#ifdef __indr_reference
__indr_reference(_catopen,catopen);
#else
#include <nl_types.h>
extern nl_catd _catopen __P((__const char *, int));
nl_catd
catopen(name, oflag)
__const char *name;
int oflag;
{
return _catopen(name, oflag);
}
#endif