revert between 56095 -> 55830 in arch
[AROS.git] / workbench / devs / diskimage / raauto / listbrowser_autoopenlib.c
blobdd3627108ceb0c78ca59e034356df95b0d4e6a4a
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/listbrowser.gadget";
7 struct Library * ListBrowserBase = 0;
8 extern unsigned long _ListBrowserBaseVer;
10 void _INIT_5_ListBrowserBase(void)
12 if(!(ListBrowserBase = OpenLibrary(class_name, _ListBrowserBaseVer))) {
13 RAAutoClassNotFound(class_name);
14 exit(EXIT_FAILURE);
18 void _EXIT_5_ListBrowserBase(void)
20 if(ListBrowserBase)
21 CloseLibrary(ListBrowserBase);