glut mouse declaration

Im having trouble getting my mouse handler working.

declaration:
void MouseClick(int button, int state, int x, int y);

function: (exactally the same)
void MouseClick(int button, int state, int x, int y)
{
}

give glut the function:
glutMouseFunc(MouseClick);

I get an error during compiling:
cannot convert parameter 1 from ‘void (int,int,int,int)’ to ‘void (__cdecl *)(int,int,int,int)’ None of the functions with this name in scope match the target type

All the examples Ive found are in C, not C++ or specifically MFC.

Nevermind.
Screw the MFC. :stuck_out_tongue: