c32a93aabf263513b3e71e258694eea3d15f84b2
[nvidia.git] / obj / wrap / exportsyms.c
1 /* Wrapper symbols */
2
3 #include <ctype.h>
4
5 extern __thread int     errno;
6
7 int *
8 __error(void)
9 {
10         return (&errno);
11 }
12
13 int
14 ___tolower(int c)
15 {
16         return (tolower(c));
17 }
18
19 int
20 ___toupper(int c)
21 {
22         return (toupper(c));
23 }
24
25 unsigned long ___runetype_mb(int);
26
27 unsigned long
28 ___runetype(int c)
29 {
30         return (___runetype_mb(c));
31 }