diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-02-25 21:13:38 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-02-25 21:17:48 -0500 |
commit | 57b97b42bdecafd81c4967a10aef6eaf43d3fcb8 (patch) | |
tree | 477e999aaff92024254d99a6f4ea6805f586fd31 /src/errno/__errno_location.c | |
parent | 2fae10f887b48b809bac56e4ff8a5c3fd4525de3 (diff) | |
download | musl-57b97b42bdecafd81c4967a10aef6eaf43d3fcb8.tar.gz musl-57b97b42bdecafd81c4967a10aef6eaf43d3fcb8.tar.bz2 musl-57b97b42bdecafd81c4967a10aef6eaf43d3fcb8.tar.xz musl-57b97b42bdecafd81c4967a10aef6eaf43d3fcb8.zip |
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.
Diffstat (limited to 'src/errno/__errno_location.c')
-rw-r--r-- | src/errno/__errno_location.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/errno/__errno_location.c b/src/errno/__errno_location.c index 7172a1be..ad9f9241 100644 --- a/src/errno/__errno_location.c +++ b/src/errno/__errno_location.c @@ -1,3 +1,4 @@ +#include <errno.h> #include "pthread_impl.h" int *__errno_location(void) |