Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
8.2 Function types shall be in prototype form with named parameters
#5
Apologies for the delay in replying... this got overlooked!

This Rule is intended to apply where function types and function parameters can syntactically appear. In the case where a typedef is used, this is not the case.

In your example, the typedef includes the function type and the parameters are named, as required by Rule 8.2

Your example is therefore compliant with Rule 8.2
Posted by and on behalf of the MISRA C Working Group
Reply


Messages In This Thread
RE: 8.2 Function types shall be in prototype form with named parameters - by misra-c - 10-07-2025, 12:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)