lib/list: Add LIST_FOR_EACH_POP.
authorJarno Rajahalme <jrajahalme@nicira.com>
Mon, 6 Apr 2015 21:02:28 +0000 (14:02 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Mon, 6 Apr 2015 21:02:28 +0000 (14:02 -0700)
commit5f03c98321092da7ff0246117098a7df197b2ce2
treed9369df816d0776b79dff4a9eeed375f839776a7
parent660527a420c29bdbc0cddd51438980ee712ba591
lib/list: Add LIST_FOR_EACH_POP.

Makes popping each member of the list a bit easier.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Russell Bryant <rbryant@redhat.com>
Acked-by: Ben Pfaff <blp@nicira.com>
19 files changed:
lib/dp-packet.c
lib/list.h
lib/lldp/lldpd-structs.c
lib/lldp/lldpd.c
lib/mcast-snooping.c
lib/ofp-util.c
lib/ofpbuf.c
lib/ovs-lldp.c
lib/ovs-numa.c
lib/ovs-rcu.c
lib/vconn.c
ofproto/bundles.c
ofproto/connmgr.c
ofproto/ofproto-dpif-rid.c
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif.c
ofproto/ofproto.c
tests/library.at
tests/test-list.c