improve machinery for ldso to report libc version
authorRich Felker <dalias@aerifal.cx>
Thu, 6 Sep 2018 20:17:56 +0000 (16:17 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 12 Sep 2018 18:34:28 +0000 (14:34 -0400)
commit18bf0829a7545b14de3fe241a65298c5f36e8bbc
tree173183b30b68a4e84702b390de6383837107ed5f
parent3b028c28314a43e6fb65f3281149aecae8250f11
improve machinery for ldso to report libc version

eliminate gratuitous glue function for reporting the version, which
was probably leftover from the old dynamic linker design which lacked
a clear barrier for when/how it could access global data. put the
declaration for the data object that replaces it in libc.h where it
can be type checked.
ldso/dynlink.c
src/internal/libc.h
src/internal/version.c