#include "../include/typedefs.h" // Example code from MISRA C:2012 begin static void foo ( void ) /* Non-compliant - "foo" is not unique * (it is already defined with wxternal * linkage in file1.c) */ { int16_t count; /* Non-compliant - "count" has no linkage * but clashes with an identifier with * externlinkage */ int32_t index; /* Compliant - "index" has no linkage */ } // Example code from MISRA C:2012 end