const-qualify the address argument to dladdr
authorRich Felker <dalias@aerifal.cx>
Tue, 7 Jan 2014 03:03:38 +0000 (22:03 -0500)
committerRich Felker <dalias@aerifal.cx>
Tue, 7 Jan 2014 03:03:38 +0000 (22:03 -0500)
commit839cc4e6da609a0b24f6cc32b0b11558fd77dd83
tree7fd422f53978a8630cd7264dc268fcbd72859ed6
parent1e7a581ad6e2b03e91748dd1295288e053f86e04
const-qualify the address argument to dladdr

this agrees with implementation practice on glibc and BSD systems, and
is the const-correct way to do things; it eliminates warnings from
passing pointers to const. the prototype without const came from
seemingly erroneous man pages.
include/dlfcn.h
src/ldso/dladdr.c
src/ldso/dynlink.c