This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 46/58] Hide internal __vstrfmon_l function [BZ #18822]
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: libc-alpha at sourceware dot org
- Date: Fri, 1 Sep 2017 11:00:17 -0700
- Subject: [PATCH 46/58] Hide internal __vstrfmon_l function [BZ #18822]
- Authentication-results: sourceware.org; auth=none
- References: <20170901180029.9527-1-hjl.tools@gmail.com>
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.
---
include/monetary.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/monetary.h b/include/monetary.h
index 2a182636d2..c130ed56a3 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
--
2.13.5