/* >>>------------------------------------------------------------ * * File: rule_19.7.c, Module: M2CM-3.2-QAC-8.1.2 * * RULE 19.7 (Advisory): * A function should be used in preference to a function-like * macro. * * Implemented by message: * 3453 A function could probably be used instead of this * function-like macro. * * <<<------------------------------------------------------------ */ #include "misra.h" #include "m2cmex.h" #define MAX( A, B ) ( ( ( A ) > ( B ) ) ? ( A ) : ( B ) ) /* MISRA Violation */ #define MMAX ( 14 + 32 ) #define HELLO 10 extern S16 test_1907( void ) { return 1; }