/* >>>------------------------------------------------------------ * * File: rule_8.6.c, Module: M2CM-3.2-QAC-8.1.2 * * RULE 8.6 (Required): * Functions shall be declared at file scope. * * Implemented by message: * 3221 Function with external linkage declared at block scope. * * <<<------------------------------------------------------------ */ /* PRQA S 3408,3447 ++ */ #include "misra.h" #include "m2cmex.h" extern S16 test_0806( void ) { extern S16 test_0806a( void ); /* MISRA Violation */ S16 r; r = test_0806a(); return r; } extern S16 test_0806a( void ) /* MISRA Violation - Rule 8.8 */ { return 1; }