Compiler Error 169

" expected a declaration "

You probably have a closing bracket with no opening bracket anywhere before it (the compiler thinks you're trying to close a declaration that doesn't exist).

You also will get this error if you inadvertently type a semicolon at the end of a function declaration:

void SendPacket(int packet2send[]);
{
 test = sizeofpacket;
 counter = 0;
 etc...
}

All wikipages