mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Don't declare __malloc_check_init in <malloc.h> (bug 23352)
The function was never part of the malloc API.
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
2019-07-10 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
[BZ #23352]
|
||||||
|
* malloc/malloc.h (__malloc_check_init): Don't declare.
|
||||||
|
* include/malloc.h (__malloc_check_init): Likewise.
|
||||||
|
* malloc/malloc-internal.h (__malloc_check_init): Declare it here.
|
||||||
|
* manual/memory.texi (__malloc_check_init): Don't mention it.
|
||||||
|
|
||||||
2019-07-10 Mao Han <han_mao@c-sky.com>
|
2019-07-10 Mao Han <han_mao@c-sky.com>
|
||||||
|
|
||||||
* locale/Makefile: Fix tst-locale-locpath arguments passing.
|
* locale/Makefile: Fix tst-locale-locpath arguments passing.
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
/* Nonzero if the malloc is already initialized. */
|
/* Nonzero if the malloc is already initialized. */
|
||||||
extern int __malloc_initialized attribute_hidden;
|
extern int __malloc_initialized attribute_hidden;
|
||||||
|
|
||||||
extern __typeof (__malloc_check_init) __malloc_check_init attribute_hidden;
|
|
||||||
|
|
||||||
struct malloc_state;
|
struct malloc_state;
|
||||||
typedef struct malloc_state *mstate;
|
typedef struct malloc_state *mstate;
|
||||||
|
|
||||||
|
@ -74,4 +74,7 @@ void __malloc_fork_unlock_child (void) attribute_hidden;
|
|||||||
/* Called as part of the thread shutdown sequence. */
|
/* Called as part of the thread shutdown sequence. */
|
||||||
void __malloc_arena_thread_freeres (void) attribute_hidden;
|
void __malloc_arena_thread_freeres (void) attribute_hidden;
|
||||||
|
|
||||||
|
/* Activate a standard set of debugging hooks. */
|
||||||
|
void __malloc_check_init (void) attribute_hidden;
|
||||||
|
|
||||||
#endif /* _MALLOC_INTERNAL_H */
|
#endif /* _MALLOC_INTERNAL_H */
|
||||||
|
@ -159,9 +159,6 @@ extern void *(*__MALLOC_HOOK_VOLATILE __memalign_hook)(size_t __alignment,
|
|||||||
__MALLOC_DEPRECATED;
|
__MALLOC_DEPRECATED;
|
||||||
extern void (*__MALLOC_HOOK_VOLATILE __after_morecore_hook) (void);
|
extern void (*__MALLOC_HOOK_VOLATILE __after_morecore_hook) (void);
|
||||||
|
|
||||||
/* Activate a standard set of debugging hooks. */
|
|
||||||
extern void __malloc_check_init (void) __THROW __MALLOC_DEPRECATED;
|
|
||||||
|
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
#endif /* malloc.h */
|
#endif /* malloc.h */
|
||||||
|
@ -1056,7 +1056,6 @@ systems that do not support @w{ISO C11}.
|
|||||||
@c next_env_entry ok
|
@c next_env_entry ok
|
||||||
@c strcspn dup ok
|
@c strcspn dup ok
|
||||||
@c __libc_mallopt dup @mtasuconst:mallopt [setting mp_]
|
@c __libc_mallopt dup @mtasuconst:mallopt [setting mp_]
|
||||||
@c __malloc_check_init @mtasuconst:malloc_hooks [setting hooks]
|
|
||||||
@c *__malloc_initialize_hook unguarded, ok
|
@c *__malloc_initialize_hook unguarded, ok
|
||||||
@c *__memalign_hook dup ok, unguarded
|
@c *__memalign_hook dup ok, unguarded
|
||||||
@c arena_get dup @asulock @aculock @acsfd @acsmem
|
@c arena_get dup @asulock @aculock @acsfd @acsmem
|
||||||
|
Reference in New Issue
Block a user