summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryLocalTest.cpp
diff options
context:
space:
mode:
authorThierry Escande <thierry.escande@linux.intel.com>2014-04-30 02:15:15 +0200
committerYong Yao <yong.yao@intel.com>2014-05-10 09:31:52 -0700
commit8cc74270405bbca5afa989b61c76b554c5b4f5a6 (patch)
tree564fab295d7b9344d79438d112050b5393a38213 /libunwindstack/tests/MemoryLocalTest.cpp
parenta744f0a11a4ff2e4a84a0af8e8e98e2e38babc32 (diff)
Fix list_for_each_safe macro
The second macro parameter is named 'next' like listnode structure 'next' field. Since the precompiler will expand all 'next' occurrences in the macro definition with what is passed by the caller, it is not possible to call this macro with something else than 'next' as second parameter. This patch replaces the 'next' parameter with 'n' allowing use of a next node not named 'next'. Change-Id: I78c859caf8193f21fe0bedaeaa8342d6e89ad14b Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'libunwindstack/tests/MemoryLocalTest.cpp')
0 files changed, 0 insertions, 0 deletions