Displaying Alarm Times from other functions

void GetAllAlarmTimes ()
{

  time_t read(AlarmID_t trialID);
  {
    if(isAllocated(trialID))
      return Alarm[trialID].value ;

    else    
      return dtINVALID_TIME;  
  }

You have no isAllocated() function in your code.
You are trying to return a variable from a function declared as void.
I have no idea what Alarm[trialID].value is all about and nor, it seems, has the compiler.
The read() function appears to be defined within the GetAllAlarmTimes() function although the semi-colon on the end makes it a function prototype I believe.