diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2021-09-29 22:15:11 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2021-10-19 14:55:39 +0200 |
| commit | d259ca0989c793767c912622437c3c5b2c6d84b2 (patch) | |
| tree | 6dac6cc1a48f47edde0c52a248dff2c1c09256e7 /lib/imsg-buffer.c | |
| parent | f45897e45c57db80b21e31d44723733a17bfac54 (diff) | |
lib: use sentinel for single-linked lists
Using a non-NULL sentinel allows distinguishing between "end of list"
and "item not on any list". It's a compare either way, just the value
is different.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/imsg-buffer.c')
0 files changed, 0 insertions, 0 deletions
