xref: /netbsd-src/lib/libc/nls/catopen.c (revision ae9172d6cd9432a6a1a56760d86b32c57a66c39c)
1 /*
2  * Written by J.T. Conklin, 10/05/94
3  * Public domain.
4  */
5 
6 #include <sys/cdefs.h>
7 
8 #ifdef __weak_reference
9 __weak_reference(_catopen,catopen);
10 #else
11 
12 #include <nl_types.h>
13 
14 extern nl_catd _catopen __P((__const char *, int));
15 
16 nl_catd
17 catopen(name, oflag)
18 	__const char *name;
19 	int oflag;
20 {
21 	return _catopen(name, oflag);
22 }
23 
24 #endif
25