Abraxas/Misra Home Table of Contents
#include "misra.h"
static void func67 ( SI_32 ) ;
static void
func67 ( SI_32 x )
Function Name: func67()
{x = 3;
}
SI_32
rule67 ( void )
Function Name: rule67()
{SI_32 c = 3;SI_32 i = 3;SI_32 *pi = &i;for ( i = 0; i < 10; ++i ){i = 5; /* RULE 67 */}for ( i = 0; i < 10; ++i ){( *pi ) = 5; /* RULE 67 */}for ( i = 0; i < 10; ++i ){func67 ( i ) ;/* Arg passed by value */
}
return c;
}
Abraxas/Misra Home Table of Contents