add public interface headers to implementation files
authorRich Felker <dalias@aerifal.cx>
Mon, 26 Feb 2018 02:13:38 +0000 (21:13 -0500)
committerRich Felker <dalias@aerifal.cx>
Mon, 26 Feb 2018 02:17:48 +0000 (21:17 -0500)
commit57b97b42bdecafd81c4967a10aef6eaf43d3fcb8
tree477e999aaff92024254d99a6f4ea6805f586fd31
parent2fae10f887b48b809bac56e4ff8a5c3fd4525de3
add public interface headers to implementation files

general policy is that all source files defining a public API or an
ABI mechanism referenced by a public header should include the public
header that declares the interface, so that the compiler or analysis
tools can check the consistency of the declarations. Alexander Monakov
pointed out a number of violations of this principle a few years back.
fix them now.
src/errno/__errno_location.c
src/misc/gethostid.c
src/signal/sigrtmin.c
src/stdlib/abs.c
src/stdlib/labs.c
src/stdlib/llabs.c