Why is this an issue?
This problem is completely avoided by the use of function prototypes. See MISRA C:2004 Rule 8.1. This rule is retained since compilers may not flag
this constraint error.
- MISRA C:2004, 16.6 - The number of arguments passed to a function shall match the number of parameters.
- MITRE, CWE-628 - Function Call with Incorrectly Specified Arguments
- CERT, DCL07-C. - Include the appropriate type information in function declarators
- CERT, EXP37-C. - Call functions with the correct number and type of arguments