]> git.ipfire.org Git - thirdparty/elfutils.git/commit
Move 4 libdwfl nested functions.
authorChih-Hung Hsieh <chh@google.com>
Fri, 18 Sep 2015 18:25:13 +0000 (11:25 -0700)
committerMark Wielaard <mjw@redhat.com>
Mon, 5 Oct 2015 14:49:16 +0000 (16:49 +0200)
commita3a76e361527b057fc4cf8a8a8ce97a33dd59198
treec8ee70e411cc03020ccb9a2f8d9fc2d4419b3cfe
parent6d30e4b8240c1977cc53e361b89d016cd444adcc
Move 4 libdwfl nested functions.

Now they should compile with clang.

Used local variables are passed to new file scope functions
as constant parameters, or pointers, or embedded in a
'state' structure.

One simple function "report" is changed to a macro.
It triggers a gcc false positive -Werror=maybe-uninitialized,
so the local variables are explicitly initialized.

Signed-off-by: Chih-Hung Hsieh <chh@google.com>
libdwfl/ChangeLog
libdwfl/linux-kernel-modules.c
libdwfl/relocate.c