A file I am using in my project has many declaration in this style:
static VALUE do_checksum(int, VALUE*, uLong (*)(uLong, const Bytef*, uInt));
...
static VALUE
do_checksum(argc, argv, func)
int argc;
VALUE *argv;
uLong (*func)(uLong, const Bytef*, uInt);
{
...
}
While I have never written code in this way myself, I am sure it is correct. However, my compiler returns
error: 'VALUE do_checksum' redeclared as different kind of symbol
error: 'argc' was not declared in this scope
What is wrong here?
Windows 7
Code::Blocks w/ MinGW