style changes to list.c