mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
6075b2aee0
We would try to be clever and compare the *data instead of the *elt. Somethink like this might be of more general use: /* Unlink arbitrary element from the list that contains data */ void llist_unlink_data(llist_t **head, void *data) { llist_t *elt; for (elt = *head; elt; elt = elt->link) { if (elt->data == data) { llist_unlink(elt); return; } } } |
||
---|---|---|
.. | ||
Config.in | ||
depmod.c | ||
insmod.c | ||
Kbuild | ||
lsmod.c | ||
modprobe.c | ||
rmmod.c |