I have these line in my pro*C program. The function initAerage is defined in a C language and I am trying to call this function in a .pcc (pro C++) file.
I am getting an error Error: initAverage(int i);was declared before with a different language
extern "C"
{
int initAverage(int i);
}
Please help