rem: static void TermIO(struct AHIRequest *ioreq, struct AHIBase *AHIBase)
add: TermIO ( struct AHIRequest *ioreq, struct AHIBase *AHIBase )
context: static void TermIO(struct AHIRequest *ioreq, struct AHIBase *AHIBase){  struct AHIDevUnit *iounit;  ULONG error = ioreq->ahir_Std.io_Error;  iounit = (struct AHIDevUnit *) ioreq->ahir_Std.io_Unit;  if(AHIBase->ahib_DebugLevel >= AHI_DEBUG_LOW)  {    KPrintF("Terminating IO Request 0x%08lx", ioreq);  }  if(ioreq->ahir_Extras != NULL)  {    int sound = GetExtras(ioreq)->Sound;    if((sound != AHI_NOSOUND) && (sound < MAXSOUNDS))    {      AHI_UnloadSound(sound, iounit->AudioCtrl);      iounit->Sounds[sound] = SOUND_FREE;    }    FreeVec((APTR *)ioreq->ahir_Extras);    ioreq->ahir_Extras = NULL;  }  if( ! (ioreq->ahir_Std.io_Flags & IOF_QUICK))  {      ReplyMsg(&ioreq->ahir_Std.io_Message);  }  if(AHIBase->ahib_DebugLevel >= AHI_DEBUG_LOW)  {    KPrintF("=>%ld\n", error);  }}