def _write_header_public_func(self, code):
      code.append('')
      code.extend(_genCommentHeader2("PUBLIC FUNCTION PROTOTYPES"))      
      code.append(C.statement(C.function('Rte_Start', 'void')))
      if self.mode_switch_enable and len(self.partition.mode_switch_functions)>0:
         for func in [self.partition.mode_switch_functions[key] for key in sorted(self.partition.mode_switch_functions.keys())]:
            code.append(C.statement(func.proto))