I know that in C/C++ you declare function arguments like this:
type functionName(type arg1,type arg2 )
{
...code...
}
However there are a few places, for example here http://www.enderunix.org/docs/eng/daemon.php Where I see that a function can also be declared like this
type functionName(arg1, arg2)
type arg1;
type arg2;
{
...code..
}
Is that a valid declaration? I've never seen anything like that in any C/C++ manual, can anyone tell me if this is correct, what are the pros and cons for this type of declaration if it is valid, and if possible point me to some manual or document that explains this. Thanks