diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | include/assert.h | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,11 @@ 2017-10-01 H.J. Lu <hongjiu.lu@intel.com> [BZ #18822] + * include/assert.h (__assert_fail_base): Add attribute_hidden. + +2017-10-01 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #18822] * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add attribute_hidden. diff --git a/include/assert.h b/include/assert.h index c452667..c0f7e1a 100644 --- a/include/assert.h +++ b/include/assert.h @@ -18,7 +18,7 @@ extern void __assert_perror_fail (int __errnum, const char *__file, extern void __assert_fail_base (const char *fmt, const char *assertion, const char *file, unsigned int line, const char *function) - __THROW __attribute__ ((__noreturn__)); + __THROW __attribute__ ((__noreturn__)) attribute_hidden; # if IS_IN (libc) || IS_IN (rtld) hidden_proto (__assert_fail) |