Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 16.4
#4
The correct interpretation is that the identifiers in question here are the names of the parameters.

Quote:Lundin wrote:

Why not simply make one single rule?

Rule 8.x (required):
\"The function prototype shall be identical to the function definition by the letter, with the exception of the function's linkage.\"

Replaces rule 8.3, rule 16.4 and half of rule 8.4.

Thank you for the comment. It is often difficult to consider the best place for a rule. We will consider the placing of the rules again for MISRA-C version 3.
Posted by and on behalf of the MISRA C Working Group


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)