rem: KPrintF("CloseDevice(0x%08lx)\n", ioreq);
add: KPrintF("CloseDevice(0x%08lx)\n", (ULONG) ioreq);
context: DevClose ( struct AHIRequest* ioreq,           struct AHIBase*    AHIBase ){  struct AHIDevUnit *iounit;  BPTR  seglist=0;  if(AHIBase->ahib_DebugLevel >= AHI_DEBUG_LOW)  {    KPrintF("CloseDevice(0x%08lx)\n", ioreq);  }  ObtainSemaphore(&AHIBase->ahib_Lock);  iounit= (struct AHIDevUnit *) ioreq->ahir_Std.io_Unit;  ioreq->ahir_Std.io_Device = (struct Device *) -1;  ioreq->ahir_Std.io_Unit = (struct Unit *) -1;  if(iounit)  {    iounit->Unit.unit_OpenCnt--;    if(!iounit->Unit.unit_OpenCnt)      ExpungeUnit(iounit,AHIBase);  }  AHIBase->ahib_Library.lib_OpenCnt--;  ReleaseSemaphore(&AHIBase->ahib_Lock);  if(!AHIBase->ahib_Library.lib_OpenCnt)  {    if(AHIBase->ahib_Library.lib_Flags & LIBF_DELEXP)      seglist=DevExpunge(AHIBase);  }  return seglist;}