commit | a3a76e361527b057fc4cf8a8a8ce97a33dd59198 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Fri Sep 18 11:25:13 2015 -0700 |
committer | Mark Wielaard <mjw@redhat.com> | Mon Oct 05 16:49:16 2015 +0200 |
tree | c8ee70e411cc03020ccb9a2f8d9fc2d4419b3cfe | |
parent | 6d30e4b8240c1977cc53e361b89d016cd444adcc [diff] |
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>