diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | include/malloc.h | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,6 +1,11 @@ 2017-10-01 H.J. Lu <hongjiu.lu@intel.com> [BZ #18822] + * include/malloc.h (__malloc_check_init): Add attribute_hidden. + +2017-10-01 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #18822] * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto. * misc/ioctl.c (__ioctl): Add libc_hidden_def. * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise. diff --git a/include/malloc.h b/include/malloc.h index 70d32c7c84..d4cd9a5ffc 100644 --- a/include/malloc.h +++ b/include/malloc.h @@ -9,6 +9,8 @@ /* Nonzero if the malloc is already initialized. */ extern int __malloc_initialized attribute_hidden; +extern __typeof (__malloc_check_init) __malloc_check_init attribute_hidden; + struct malloc_state; typedef struct malloc_state *mstate; |