diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2024-01-21 10:33:31 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2024-01-31 10:27:56 +0100 |
commit | 396c311842ae7d138c13a6d054e1978d95af4c63 (patch) | |
tree | 52af4b3efb57f3b0bc6423fe8556c2f2dce01677 /src/lib/tests/crc32_test.c | |
parent | 763d39ee64e95801ef972ceba74dd6c8c15b1ea7 (diff) | |
download | ouroboros-396c311842ae7d138c13a6d054e1978d95af4c63.tar.gz ouroboros-396c311842ae7d138c13a6d054e1978d95af4c63.zip |
lib: Make list empty on delete
The list_del operation now lets nxt and prv point to the element itself, so
that list_is_empty(e) is true after list_del(e).
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/tests/crc32_test.c')
0 files changed, 0 insertions, 0 deletions