Added missing version tags, clean-up
[AROS.git] / compiler / clib / __arosc_init.c
blobe1bd444333d62ac8cfc80903f85956c52bf2ff2f
1 /*
2 Copyright © 2012, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: arosc.library - init code
6 */
7 #include <proto/exec.h>
9 #include <aros/symbolsets.h>
11 #include "__arosc_privdata.h"
13 static int __arosc_open(struct aroscbase *aroscbase)
15 aroscbase->acb_internalpool = CreatePool(MEMF_PUBLIC, 256, 256);
17 return aroscbase->acb_internalpool != NULL;
20 static void __arosc_close(struct aroscbase *aroscbase)
22 DeletePool(aroscbase->acb_internalpool);
25 ADD2OPENLIB(__arosc_open, -50);
26 ADD2CLOSELIB(__arosc_close, -50);