remove (name_list->name); name_list = (struct name_list *) name_list->q.q_forw;
remove (temp_name_list->name); temp_name_list = (struct temp_name_list *) temp_name_list->q.q_forw;
delete_temp_files (void){  while (name_list != NULL)    {      remove (name_list->name);      name_list = (struct name_list *) name_list->q.q_forw;    }}