backport
[AROS.git] / compiler / clib / __ctype_linklib.c
blob82706658d6d9be0ce897eea9aadecb50d58068d9
1 /*
2 Copyright © 2012, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <sys/arosc.h>
7 #include <aros/symbolsets.h>
9 const unsigned short int *__ctype_b;
10 const int *__ctype_toupper;
11 const int *__ctype_tolower;
13 static int __ctype_init(void)
15 const struct arosc_ctype *ctype = __get_arosc_ctype();
17 __ctype_b = ctype->b;
18 __ctype_toupper = ctype->toupper;
19 __ctype_tolower = ctype->tolower;
21 return 1;
24 ADD2INIT(__ctype_init, 20);