2 Copyright © 2012, The AROS Development Team. All rights reserved.
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 struct aroscbase
*_aroscbase
;
19 static int __ctype_init(void)
21 const struct arosc_ctype
*ctype
;
23 _aroscbase
= (struct aroscbase
*)OpenLibrary("arosc.library", 0);
26 ctype
= &_aroscbase
->acb_acud
.acud_ctype
;
29 __ctype_toupper
= ctype
->toupper
;
30 __ctype_tolower
= ctype
->tolower
;
35 static void __ctype_exit(void)
37 CloseLibrary((struct Library
*)_aroscbase
);
40 ADD2INIT(__ctype_init
, 20);
41 ADD2EXIT(__ctype_exit
, 20);