rem: FreeMem( (APTR) ( ( (char*) device ) - device->ahib_Library.lib_NegSize ), device->ahib_Library.lib_NegSize + device->ahib_Library.lib_PosSize );
add: DeleteLibrary( &device->ahib_Library );
context: _DevExpunge( struct AHIBase* device ){  BPTR seglist = 0;   //DebugPrintF("AHI: _DevExpunge\n");  if( device->ahib_Library.lib_OpenCnt == 0)  {    seglist = device->ahib_SegList;    Remove( (struct Node *) device );    CloseLibs();    FreeMem( (APTR) ( ( (char*) device ) - device->ahib_Library.lib_NegSize ),             device->ahib_Library.lib_NegSize + device->ahib_Library.lib_PosSize );  }  else  {    device->ahib_Library.lib_Flags |= LIBF_DELEXP;  }  return seglist;}