I can't say I like the structure.A list_pop that removes and entry from the head or returns NULL if thelist is empty would lead to nice while loops that are obviouslyreadable instead.