/* >>>------------------------------------------------------------ * * File: rule_8.4.c, Module: M2CM-3.2-QAC-8.1.2 * * RULE 8.4 (Required): * If objects or functions are declared more than once their types * shall be compatible. * * Implemented by messages: * 626 [U] '%s' has different type to previous declaration * (which is no longer in scope). * * 627 [C] '%s' has different type to previous declaration in * the same scope. * * 628 [C] '%s' has different type to previous declaration at * wider scope. * * 1510 '%1s' has external linkage and has incompatible * declarations. * * <<<------------------------------------------------------------ */ /* PRQA S 3205,3207,3222,3408,3447 ++ */ #include "misra.h" #include "m2cmex.h" static S32 obj_0804c; static F32 obj_0804c = 0.0F; /* MISRA Violation */ extern S16 obj_0804d = 0; /* MISRA Violation */ extern S16 test_0804a( void ) { extern U8 obj_0804a[ 10 ]; /* MISRA Violation */ extern F32 obj_0804b[ 10 ]; return 0; } extern S16 test_0804b( void ) { extern S32 obj_0804b[ 10 ]; /* MISRA Violation */ return 0; }