Remove the hasPrototype() restriction so that old style K&R
declarations of main work too.
For example the following has two params but no prototype.
int main(argc, argv) int argc; char *argv[]; { return 0; }
Also, use getNumParams() over param_size() which seems to be a more
direct way to get at the same information.