Thank you very much, that seems to work as well. I assumed they had prototyped the 3 functions already but when I got errors I tried putting it in. For some reason at the top of the file, above the...
Type: Posts; User: cbrman
Thank you very much, that seems to work as well. I assumed they had prototyped the 3 functions already but when I got errors I tried putting it in. For some reason at the top of the file, above the...
Well I try to prototype the 3 functions in the .c file we are supposed to modify and it gives me all of these errors:
line 10: warning: old-style declaration or incorrect type for: cpu_init...
hmmm,
Well I see what you are saying but I cannot do this. The assignment is/has already been written, the main .c file is not able to be modified. We were handed a cpu.c file and were told to...
thanks, I changed it to the new style and it gives me pretty much the same error:
line 164: identifier redeclared: insert_ready
current : function(pointer to struct pcb_node {int pcb_id,...
Ok, I was given a function to fill out for a programming assignment.
The function header is as follows:
insert_ready(pcb)
PCB* pcb;
{