Bartek GÄ…siorzewski
2018-05-07 ae4ec1a06d5b4c9bcb5647cf555aafd4e5f800f7
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;