util/list: Add C99-based iterator macros
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 28 Apr 2015 01:56:02 +0000 (18:56 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 9 May 2015 00:16:13 +0000 (17:16 -0700)
commitb31d8983ba5d68f3bcb5520b9281a4553d66fb95
treefd6a27aff1a951fd5488bed47c98f9b497e7e5d0
parent7a30668ad665f3315106e1a959c6186dea79a24a
util/list: Add C99-based iterator macros

v2: Use LIST_ENTRY instead of container_of in iterators

Acked-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
src/util/list.h