Functions completed in list.c