I am getting redeclaration error on a function and I can not see any difference inbetween the two. I am also getting 2 ohter errors that I have never seen before:
Prototype for function draw_tractors cannot contain "..." when mixed with nonprototype declaration.
Prototype for function draw_tractors must contain only promoted types if prototype and nonprototype declaration are mixed.
The two functions look like this:
draw_tractors(i_tractors[x].tr_no, pmclat, pmclon,
currlat, currlong);
AND
int draw_tractors(char *ln, float lat, float lon,
float actlat, float actlong)
Any ideas as to what might be wrong or what I might look for to fix thes compilation errors?
Prototype for function draw_tractors cannot contain "..." when mixed with nonprototype declaration.
Prototype for function draw_tractors must contain only promoted types if prototype and nonprototype declaration are mixed.
The two functions look like this:
draw_tractors(i_tractors[x].tr_no, pmclat, pmclon,
currlat, currlong);
AND
int draw_tractors(char *ln, float lat, float lon,
float actlat, float actlong)
Any ideas as to what might be wrong or what I might look for to fix thes compilation errors?