Quote:
Originally Posted by buddy.smith
Why don't you post the code?
Here's an "old style" function declaration:
Code:
int myFunc( param1, param2, param3)
{
char param1;
int param2;
short param3;
printf("Got %d %d %d\n", param1, param2, param3);
}
|
Close, for "old style" function declarations the parameters went between the ) and the {:
Code:
int myFunc( param1, param2, param3)
char param1;
int param2;
short param3;
{
printf("Got %d %d %d\n", param1, param2, param3);
}
Usually you get this error when the { character has been omitted.