Double-Linked Lists - Occasional Remove Functions

    #include <mplib1/dl_list.h>

    Node_t *Remove_Head( List_t *list );

    Node_t *Remove_Tail( List_t *list );

These functions remove the head and tail node from the supplied list and return a pointer to that node. If there are no items on the list the NULL is returned.