#include <exec/libraries.h>
#include <proto/exec.h>

struct Library *RegistryBase = NULL;
extern unsigned long _RegistryBaseVer;

void _INIT_5_RegistryBase()
{
  if (!(RegistryBase = OpenLibrary("registry.library",_RegistryBaseVer)))
    exit(20);
}

void _EXIT_5_RegistryBase()
{
  if (RegistryBase)
    CloseLibrary(RegistryBase);
}
