Re: [PATCH 3/5] readelf: Pull left() info file scope

2021-01-30 Thread Mark Wielaard
Hi Timm, On Fri, Jan 08, 2021 at 09:16:31AM +0100, Timm Bäder via Elfutils-devel wrote: > Get rid of a nested function this way. I would probably simply inlined that line of code into the two callers instead of introducing a new function with two arguments. But this also works. Added a ChangeLog

[PATCH 3/5] readelf: Pull left() info file scope

2021-01-08 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Get rid of a nested function this way. Signed-off-by: Timm Bäder --- src/readelf.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/readelf.c b/src/readelf.c index 0157f8a2..99e90c34 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -357