aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-15 14:06:54 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-15 14:07:06 -0700
commita1afb41193e908668eeac7e3a25a48ac535aff67 (patch)
tree69e201920add3bf9f9132aa113d5450c2259c0bd /sysdeps
parent58c9ff1bdb213bfa65eff12c7d17532cb48aabe7 (diff)
downloadglibc-a1afb41193e908668eeac7e3a25a48ac535aff67.zip
glibc-a1afb41193e908668eeac7e3a25a48ac535aff67.tar.gz
glibc-a1afb41193e908668eeac7e3a25a48ac535aff67.tar.bz2
Mark internal _itoa functions hidden
Since internal _itoa functions are only used internally in ld.so and libc.so, they can be made hidden. [BZ #19122] * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden. (_itoa_word): Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/_itoa.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/generic/_itoa.h b/sysdeps/generic/_itoa.h
index 632e24c..bd9d3bc 100644
--- a/sysdeps/generic/_itoa.h
+++ b/sysdeps/generic/_itoa.h
@@ -42,7 +42,7 @@
Use upper case letters iff UPPER_CASE is nonzero. */
extern char *_itoa (unsigned long long int value, char *buflim,
- unsigned int base, int upper_case);
+ unsigned int base, int upper_case) attribute_hidden;
extern const char _itoa_upper_digits[];
extern const char _itoa_lower_digits[];
@@ -53,7 +53,8 @@ hidden_proto (_itoa_lower_digits)
#if IS_IN (libc)
extern char *_itoa_word (_ITOA_WORD_TYPE value, char *buflim,
- unsigned int base, int upper_case);
+ unsigned int base,
+ int upper_case) attribute_hidden;
#else
static inline char * __attribute__ ((unused, always_inline))
_itoa_word (_ITOA_WORD_TYPE value, char *buflim,