revert between 56095 -> 55830 in arch
[AROS.git] / workbench / devs / diskimage / raauto / space_autoopenlib.c
blob34fe269108c1dce720634e91c08706911e6d0445
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[] = "gadgets/space.gadget";
7 struct Library * SpaceBase = 0;
8 extern unsigned long _SpaceBaseVer;
10 void _INIT_5_SpaceBase(void)
12 if(!(SpaceBase = OpenLibrary(class_name, _SpaceBaseVer))) {
13 RAAutoClassNotFound(class_name);
14 exit(EXIT_FAILURE);
18 void _EXIT_5_SpaceBase(void)
20 if(SpaceBase)
21 CloseLibrary(SpaceBase);