Ok, I was given a function to fill out for a programming assignment.

The function header is as follows:

Code:
insert_ready(pcb)
PCB* pcb;
{

}
I have never seen syntax like this before, what does it mean?

Normally all the functions I have written/seen are like this.
Code:
insert_ready(PCB * pcb){

}
The reason I am asking is when I call the function insert_ready in another function I am getting an error.

line 164: identifier redeclared: insert_ready
current : function() returning void
previous: function() returning int : "cpu.c", line 133

When I am calling the function i am calling it as:
Code:
PCB* preempted; // was declared in the calling function

insert_ready(preempted);
Any ideas?

Thank you.