AlexeyAB
2018-05-06 c9b8bdee1886df5f83973d91c3597c28f99a9e0c
src/list.c
@@ -11,6 +11,7 @@
   return l;
}
/*
void transfer_node(list *s, list *d, node *n)
{
    node *prev, *next;
@@ -22,6 +23,7 @@
    if(s->front == n) s->front = next;
    if(s->back == n) s->back = prev;
}
*/
void *list_pop(list *l){
    if(!l->back) return 0;