]> granicus.if.org Git - musl/commit
use wrapper headers to hide most namespaced/internally-public symbols
authorRich Felker <dalias@aerifal.cx>
Tue, 11 Sep 2018 19:58:46 +0000 (15:58 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 12 Sep 2018 18:34:37 +0000 (14:34 -0400)
commit0676c3a34c7bf12b33f8f5efb92476f4ffc7f20e
tree50f0e611bc15084bedb7003913bb6fdf21c2c631
parentced75472d7e3d73d5b057e36ccbc7b7fcba95104
use wrapper headers to hide most namespaced/internally-public symbols

not all prefixed symbols can be made hidden. some are part of
ABI-compat (e.g. __nl_langinfo_l) and others are ABI as a consequence
of the way copy relocations for weak aliases work in ELF shared
libraries. most, however, can be made hidden.

with this commit, there should be no remaining unintentionally visible
symbols exported from libc.so.
12 files changed:
src/include/arpa/inet.h
src/include/crypt.h
src/include/pthread.h
src/include/resolv.h
src/include/signal.h
src/include/stdlib.h
src/include/string.h
src/include/sys/mman.h
src/include/sys/sysinfo.h
src/include/sys/time.h
src/include/time.h
src/include/unistd.h