Abraxas/Misra Home  Table of Contents

Module - m72.html

ABRAXAS SOFTWARE - CodeCheck MISRA Test-Suite Misra-C:1998 Misra-C:2004.

Misra-C Test Suite for Module - m72.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 72: Required */

Rule 72: Required */

/* For each function parameter the type given in the declaration and */

For each function parameter the type given in the declaration and */

/* definition shall be identical, and the return types shall also be */

definition shall be identical, and the return types shall also be */

/* identical. */

identical. */
#include "misra.h"
static SI_32 func72a ( SI_32 ) ;
static UI_32 func72b ( SI_32 ) ;
static SI_32 func72c ( UI_32 ) ;
static SI_32
func72a ( SI_32 a ) 



Function Name: func72a()

{
    
    return a;
    
}
static SI_32
func72b ( SI_32 a ) /*  RULE 72  */



Function Name: func72b()

{
    
    return a;
    
}
static SI_32
func72c ( SI_32 a ) /*  RULE 72  */



Function Name: func72c()

{
    
    return a;
    
}

Abraxas/Misra Home  Table of Contents

ABRAXAS SOFTWARE - CodeCheck MISRA Test-Suite Misra-C:1998 Misra-C:2004.