AlexeyAB
2017-01-16 d7a30ada7e82daf7ce5ca91acac15c1723188fc5
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;