path: root/src/include/stdlib.h
diff options
authorRich Felker <>2018-09-11 15:58:46 -0400
committerRich Felker <>2018-09-12 14:34:37 -0400
commit0676c3a34c7bf12b33f8f5efb92476f4ffc7f20e (patch)
tree50f0e611bc15084bedb7003913bb6fdf21c2c631 /src/include/stdlib.h
parentced75472d7e3d73d5b057e36ccbc7b7fcba95104 (diff)
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
Diffstat (limited to 'src/include/stdlib.h')
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/stdlib.h b/src/include/stdlib.h
index 8b8fe9c8..d38a5417 100644
--- a/src/include/stdlib.h
+++ b/src/include/stdlib.h
@@ -3,10 +3,10 @@
#include "../../include/stdlib.h"
-int __putenv(char *, size_t, char *);
-void __env_rm_add(char *, char *);
-int __mkostemps(char *, int, int);
-int __ptsname_r(int, char *, size_t);
-char *__randname(char *);
+hidden int __putenv(char *, size_t, char *);
+hidden void __env_rm_add(char *, char *);
+hidden int __mkostemps(char *, int, int);
+hidden int __ptsname_r(int, char *, size_t);
+hidden char *__randname(char *);