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
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