revert between 56095 -> 55830 in arch
[AROS.git] / workbench / devs / diskimage / raauto / requester_autoopenlib.c
blob4022a1309db0b39430b920679272a53277eba8fb
1 #include <exec/libraries.h>
2 #include <proto/exec.h>
3 #include <stdlib.h>
4 #include "raauto_alerts.h"
6 static CONST TEXT class_name[] = "requester.class";
7 struct Library * RequesterBase = 0;
8 extern unsigned long _RequesterBaseVer;
10 void _INIT_5_RequesterBase(void)
12 if(!(RequesterBase = OpenLibrary(class_name, _RequesterBaseVer))) {
13 RAAutoClassNotFound(class_name);
14 exit(EXIT_FAILURE);
18 void _EXIT_5_RequesterBase(void)
20 if(RequesterBase)
21 CloseLibrary(RequesterBase);