aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--csu/version.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 656b922567..278225538d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
[BZ #18822]
+ * csu/version.c (__libc_print_version): Add attribute_hidden.
+
+2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
+
+ [BZ #18822]
* include/libc-internal.h (__init_misc): Add attribute_hidden.
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
diff --git a/csu/version.c b/csu/version.c
index 8e86d495c5..a88cc2d0c0 100644
--- a/csu/version.c
+++ b/csu/version.c
@@ -38,7 +38,7 @@ LIBC_ABIS_STRING
#include <unistd.h>
-extern void __libc_print_version (void);
+extern void __libc_print_version (void) attribute_hidden;
void
__libc_print_version (void)
{