18-01-2006, 03:58 PM
i think MISRA is clear in this point:
page 31 states under Rule 8.1 as a hint:
\"The provision of a prototype fro a function with internal linkage is a good programming pratice\"
page 32 states under Rule 8.6: Functions shall be declared at file scope.
So this concerns both, external (in header) and internal (in c source) IMO.
also Rule 8.10 on page 33
kind regards,
Bernhard.
page 31 states under Rule 8.1 as a hint:
\"The provision of a prototype fro a function with internal linkage is a good programming pratice\"
page 32 states under Rule 8.6: Functions shall be declared at file scope.
So this concerns both, external (in header) and internal (in c source) IMO.
also Rule 8.10 on page 33
kind regards,
Bernhard.
<t></t>