diff options
author | Josh Bailey <joshb@google.com> | 2012-03-21 10:00:07 -0700 |
---|---|---|
committer | Avneesh Sachdev <avneesh@opensourcerouting.org> | 2012-04-07 13:52:23 -0700 |
commit | 54dd61227352dd1dd4db4fe76dbf7d2e92522e74 (patch) | |
tree | da320cdec867ca81748f3b85b772422b386bf376 /zebra/zebra_snmp.c | |
parent | 8ced4e82e6f417b13f4bfc09018fc51fd31058e2 (diff) |
lib: Tweaks to linked list macros
* lib/linklist.h
- Change the listnextnode, listhead and listtail macros so that
they allow the list pointer to be NULL.
- Modify the ALL_LIST_ELEMENTS* macros such that they clear the
data pointer at the beginning and end of the loop.
From: Josh Bailey <joshb@google.com>
Signed-off-by: Avneesh Sachdev <avneesh@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'zebra/zebra_snmp.c')
0 files changed, 0 insertions, 0 deletions