Warn about inconsistent prototypes.

Emit a warning when an earlier function prototype has different
argument types than a later prototype or function header.
In pedantic mode make that an error.