#include "../include/typedefs.h" // Example code from MISRA C:2012 begin static int32_t x = 0; /* definition: internal linkage */ extern int32_t x; /* Non-compliant */ static int32_t f ( void ); /* declaration: internal linkage */ int32_t f ( void ) /* Non-compliant */ { return 1; } static int32_t g ( void ); /* declaration: internal linkage */ extern int32_t g ( void ) /* Non-compliant */ { return 1; } // Example code from MISRA C:2012 end