/* >>>------------------------------------------------------------ * * File: rule_18.3.c, Module: M2CM-3.2-QAC-8.1.2 * * RULE 18.3 (Required): * An area of memory shall not be reused for unrelated purposes. * * Not enforced * * <<<------------------------------------------------------------ */ /* PRQA S 3206,3218 ++ */ #include "misra.h" #include "m2cmex.h" #define BSPACE 10000 static PC text_buffer[ BSPACE ]; static void process_commands( PC *work ); static void process_report( PC *work ); extern S16 test_1803( void ) { /* Use text_buffer for command processing purposes. */ process_commands( text_buffer ); /* Use text_buffer for report processing purposes */ process_report( text_buffer ); return 1; } static void process_commands( PC *work ) { /* Use work to process commands */ } static void process_report( PC *work ) { /* Use work to process report */ }