NetBSD/lib/libc/nls/catopen.c
cgd 9e3970d80f make the char *'s that some of these routines take/return __const.
It quiets some warnings, and is the 'right thing' anyway.
1994-12-20 16:18:16 +00:00

25 lines
335 B
C

/*
* Written by J.T. Conklin, 10/05/94
* Public domain.
*/
#include <sys/cdefs.h>
#ifdef __weak_reference
__weak_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