Re: [PATCH 02/14] segment_report_module: Pull segment_read into file scope

2020-11-18 Thread Mark Wielaard
Hi Timm, On Thu, Nov 12, 2020 at 04:04:00PM +0100, Timm Bäder via Elfutils-devel wrote: > In preparation of getting rid of nested functions I actually like the nested functions in this case, they simply act as lambdas. But if you want to get rid of this one then can we inline the (*memory_callbac

[PATCH 02/14] segment_report_module: Pull segment_read into file scope

2020-11-12 Thread Timm Bäder via Elfutils-devel
In preparation of getting rid of nested functions Signed-off-by: Timm Bäder --- libdwfl/dwfl_segment_report_module.c | 30 +--- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/libdwfl/dwfl_segment_report_module.c b/libdwfl/dwfl_segment_report_module.c ind