Re: [PATCH 1/4] addr2line: Pull show_note() and show_int() in file scope

2021-01-29 Thread Mark Wielaard
Hi Timm, On Fri, 2021-01-08 at 09:13 +0100, Timm Bäder via Elfutils-devel wrote: > Get rid of the nested functions OK. These nested functions don't actually capture anything from their outerscope. So they can be moved to file scope without requiring any extra arguments. Added a ChangeLog entry an

[PATCH 1/4] addr2line: Pull show_note() and show_int() in file scope

2021-01-08 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Get rid of the nested functions Signed-off-by: Timm Bäder --- src/addr2line.c | 47 ++- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/src/addr2line.c b/src/addr2line.c index ea01c1be..34945046 100644 --- a/src/addr2