Node* ll_append(Node* head, char newVal) { if (head == NULL) { return NULL; } while (head->next != NULL) { head = head->next; } return ll_insert_after(head, newVal); }
struct ll * ll_add_front(struct ll *ll, void *data) { return ll_insert_after(ll, data); }