aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-01 17:44:52 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-01 17:45:07 -0700
commit047d1a81fd82db4cd7458fec37230f3b31b414e9 (patch)
tree875420172074614a4c0a86f8bacec182b9354cfc /include
parentfd331b1179df7fef8016273fb26f5f054793875a (diff)
downloadglibc-047d1a81fd82db4cd7458fec37230f3b31b414e9.zip
glibc-047d1a81fd82db4cd7458fec37230f3b31b414e9.tar.gz
glibc-047d1a81fd82db4cd7458fec37230f3b31b414e9.tar.bz2
Hide internal __vstrfmon_l function [BZ #18822]
Hide internal __vstrfmon_l function to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
Diffstat (limited to 'include')
-rw-r--r--include/monetary.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/monetary.h b/include/monetary.h
index 2a18263..c130ed5 100644
--- a/include/monetary.h
+++ b/include/monetary.h
@@ -3,5 +3,6 @@
#include <stdarg.h>
extern ssize_t __vstrfmon_l (char *s, size_t maxsize, locale_t loc,
- const char *format, va_list ap);
+ const char *format, va_list ap)
+ attribute_hidden;
#endif