elflint: Pull pos() info file scope
authorTimm Bäder <tbaeder@redhat.com>
Wed, 17 Feb 2021 08:42:18 +0000 (09:42 +0100)
committerMark Wielaard <mark@klomp.org>
Mon, 1 Mar 2021 16:22:58 +0000 (17:22 +0100)
commitfd1b3802a7b15b33e78aa4c8ef0e3d184c280253
tree9531ca2034470f20a563ec1d510b454da9b60ec3
parent35e49cac53a97ae6c51190c8e2d35a215e188bba
elflint: Pull pos() info file scope

Rename it to buffer_pos() to be a bit more descriptive and get rid of a
nested function this way.

Signed-off-by: Timm Bäder <tbaeder@redhat.com>
src/ChangeLog
src/elflint.c