Re: [PATCH 1/2] link_map: Pull release_buffer() into file scope

2020-12-10 Thread Mark Wielaard
Hi Timm, On Mon, 2020-12-07 at 12:11 +0100, Timm Bäder via Elfutils-devel wrote: > Get rid of a nested function this way. Add a memory_closure struct to > keep the functions clean. Pushed with one fix. > @@ -319,7 +331,7 @@ report_r_debug (uint_fast8_t elfclass, uint_fast8_t > elfdata, >whi

[PATCH 1/2] link_map: Pull release_buffer() into file scope

2020-12-07 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Get rid of a nested function this way. Add a memory_closure struct to keep the functions clean. Signed-off-by: Timm Bäder --- libdwfl/ChangeLog | 5 + libdwfl/link_map.c | 48 ++ 2 files changed, 37 insertions(+), 16 deletions(