Removed double NAME entry.
[AROS.git] / compiler / clib / __ctype_linklib.c
blobe9af0ac59b958af8381850a4204a34960385676d
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 #include <proto/exec.h>
11 #include "__arosc_privdata.h"
13 const unsigned short int *__ctype_b;
14 const unsigned char *__ctype_toupper;
15 const unsigned char *__ctype_tolower;
17 static int __ctype_init(struct ExecBase *SysBase)
19 const struct arosc_ctype *ctype;
20 struct aroscbase *aroscbase = __aros_getbase_aroscbase();
22 if (!aroscbase)
23 return 0;
25 ctype = &aroscbase->acb_acud.acud_ctype;
27 __ctype_b = ctype->b;
28 __ctype_toupper = ctype->toupper;
29 __ctype_tolower = ctype->tolower;
31 return 1;
34 ADD2INIT(__ctype_init, 20);