aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-15 14:24:20 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-15 14:24:35 -0700
commitf3fc94c04f72e492f55be4349c6df2a910762b70 (patch)
tree387810547b5ce89dfd8c5e20d944d2b6793954a3 /include
parentbdcd03eaca8133b20a8b9a60403915902c1792a5 (diff)
downloadglibc-f3fc94c04f72e492f55be4349c6df2a910762b70.zip
glibc-f3fc94c04f72e492f55be4349c6df2a910762b70.tar.gz
glibc-f3fc94c04f72e492f55be4349c6df2a910762b70.tar.bz2
Mark ld.so internel stdlib functions hidden
Since ld.so internel stdlib functions are only used internally in ld.so, they can be made hidden. [BZ #19122] * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add attribute_hidden. [IS_IN (rtld)] (__strtoul_internal): Likewise.
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 992b877..dcb83a5 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -242,6 +242,11 @@ struct abort_msg_s
extern struct abort_msg_s *__abort_msg;
libc_hidden_proto (__abort_msg)
+# if IS_IN (rtld)
+extern __typeof (unsetenv) unsetenv attribute_hidden;
+extern __typeof (__strtoul_internal) __strtoul_internal attribute_hidden;
+# endif
+
__END_DECLS
#endif