/* >>>------------------------------------------------------------ * * File: rule_8.8.c, Module: M2CM-3.2-QAC-8.1.2 * * RULE 8.8 (Required): * An external object or function shall be declared in one and * only one file. * * Implemented by messages: * 1513 Identifier '%1s' with external linkage has separate * non-defining declarations in more than one location. * * 3222 Object with external linkage declared at block scope. * * 3408 '%s' has external linkage and is being defined without * any previous declaration. * * 3447 '%s' is being declared with external linkage but this * declaration is not in a header file. * * 3451 The global identifier '%s' has been declared in more * than one file. * * <<<------------------------------------------------------------ */ /* PRQA S 3210 ++ */ #include "misra.h" #include "m2cmex.h" extern S16 obj_0808a; /* MISRA Violation */ extern S16 obj_0808c = 0; /* MISRA Violation */ extern S16 obj_0808d; /* MISRA Violation */ extern S16 test_0808( void ) { extern S16 obj_0808b; /* MISRA Violation */ obj_0808a = 0; obj_0808b = 0; obj_0808c = 1; return 0; }