]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdw: Add const declaration to getlocations_addr locs.
authorChih-Hung Hsieh <chh@google.com>
Fri, 4 Sep 2015 19:04:11 +0000 (12:04 -0700)
committerMark Wielaard <mjw@redhat.com>
Mon, 7 Sep 2015 20:56:07 +0000 (22:56 +0200)
commitf6b93914662566bbbb974cc85ef686a9f6b41a42
tree9c1c490e4797b88795cc14ec419a314be4425870
parentaa1c2ca808a267a5a3c372de5461c1f67f9a8869
libdw: Add const declaration to getlocations_addr locs.

And change K&R C function definition to ansi, which prevented GCC from
seeing that callers passed in const arguments.

Signed-off-by: Chih-Hung Hsieh <chh@google.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
libdw/ChangeLog
libdw/dwarf_getlocation.c