diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-03-28 17:59:27 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2019-03-29 15:04:17 +0100 |
| commit | 2fe55afeec519afbe4fac45c0d0b8d4331f623aa (patch) | |
| tree | 3e850f5813a5e5551b5a4a64adf02c2be8be89cf /lib/compiler.h | |
| parent | 3e3708cbd38a8e25c2cf8bede4ea1c86a0911dac (diff) | |
lib: add lookup utility routine that accepts null list values
lists passed as parameter that are null, are accepted by the function.
I would even propose to silently return NULL in official
listnode_lookup() routine.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions
