SgExprStatement* initcall = SB::buildFunctionCallStmt(init_name,SgTypeVoid::createType(),NULL,maindecl->get_definition()); maindecl->get_definition()->prepend_statement(initcall);//defining declaration of rtc_init_typeinfoSgFunctionDeclaration* init_definingDecl =newSgFunctionDeclaration(newSg_Fil...