typedef struct List { struct List *next; }* Liste; void deleteAll(Liste x){ Liste y; while(x!=NULL){ y=x; x=x->next; free(y); } }