ref: c9e1f4003a54d71ed97e6d7d32487c616be893c0
dir: /libc/lldel.c/
#include <u.h> #include <libc.h> #include <err.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; }