zabbix-agent2/src/zabbix_server/service/service_manager.c
/******************************************************************************
 *                                                                            *
 * Function: its_updates_compare                                              *
 *                                                                            *
 * Purpose: used to sort service updates by source id                         *
 *                                                                            *
 ******************************************************************************/
its_updates_compare

Purpose: used to sort service updates by source id
its_updates_compare Purpose : used to sort service updates by source id
static int	its_updates_compare(const zbx_status_update_t **update1, const zbx_status_update_t **update2)
{
	ZBX_RETURN_IF_NOT_EQUAL((*update1)->sourceid, (*update2)->sourceid);
	return 0;
}
static int its_updates_compare ( const zbx_status_update_t * * update1 , const zbx_status_update_t * * update2 ) { ZBX_RETURN_IF_NOT_EQUAL ( ( * update1 ) -> sourceid , ( * update2 ) -> sourceid ) ; return 0 ; }
Function: its_updates_compare                                              
                                                                            
 Purpose: used to sort service updates by source id
Function : its_updates_compare Purpose : used to sort service updates by source id