Re: [PATCH 2/4] zstrptr: Pull print_string() into 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 a nested function this way. OK. This doesn't immediately make clear that the given scn and ndx refer to the same section. But it does test the same thing (that given section strings can be accessed throu

[PATCH 2/4] zstrptr: Pull print_string() into 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 --- tests/zstrptr.c | 43 ++- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/tests/zstrptr.c b/tests/zstrptr.c index 6d8e19f7..9fb42e28 100644 --- a/tests/