Trying to compile the following "makebar.c" on an HP-UX 11.0 server, and I am getting the following error,
cc: "makebar.c", line 427: error 1584: Inconsistent type declaration: "round".
here is the code in and around line 427,
int round( d )
double d;
{
double z;
int i;
i = z = floor( d );
if ( d - z >= .5 )
++i;
return i;
}
If anybody has any ideas I would greatly appreciate the help. Thank you in advance.