Open LeonorMalaga opened 3 months ago
void dll_remove_last(t_dlist *list) { t_dlist aux;
if (dll_empty(*list)) return ; aux = *list; while (aux->next) aux = aux->next; if (aux->prev) aux->prev->next = NULL; else *list = NULL; free(aux);
}
void dll_remove_last(t_dlist *list) { t_dlist aux;
}