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;