Update list.c code conformity