avoid the use of 'func_id_list_t *' to prevent potential seg faults