ref: 8fe978f00633ce7bdf4c0413e72b5a78ddca7bec
dir: /libc/lldel.c/
#include <u.h> #include <err.h> #include <mem.h> /* deletes the next entry in the list */ int lldel(ll_t *ll) { ll_t *temp = ll->next; ll->next = temp->next; free(temp->val); free(temp); return OK; }