about summary refs log tree commit diff
path: root/malloc
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2019-07-09 16:44:02 +0200
committerAndreas Schwab <schwab@suse.de>2019-07-10 15:04:05 +0200
commit32b8188ac84ea0c0280a34f65c1fd7faf731c289 (patch)
tree7fb8f6a8c8e76c074b996e770e473b8e4f7c1e81 /malloc
parent7901d4ee7ba91c963a9a7c9365267552edad32f3 (diff)
downloadglibc-32b8188ac84ea0c0280a34f65c1fd7faf731c289.tar.gz
glibc-32b8188ac84ea0c0280a34f65c1fd7faf731c289.tar.xz
glibc-32b8188ac84ea0c0280a34f65c1fd7faf731c289.zip
Don't declare __malloc_check_init in <malloc.h> (bug 23352)
The function was never part of the malloc API.
Diffstat (limited to 'malloc')
-rw-r--r--malloc/malloc-internal.h3
-rw-r--r--malloc/malloc.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/malloc/malloc-internal.h b/malloc/malloc-internal.h
index 591ec4528a..54d90f901b 100644
--- a/malloc/malloc-internal.h
+++ b/malloc/malloc-internal.h
@@ -74,4 +74,7 @@ void __malloc_fork_unlock_child (void) attribute_hidden;
 /* Called as part of the thread shutdown sequence.  */
 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 */
diff --git a/malloc/malloc.h b/malloc/malloc.h
index 523f1b1af5..70d8282bdc 100644
--- a/malloc/malloc.h
+++ b/malloc/malloc.h
@@ -159,9 +159,6 @@ extern void *(*__MALLOC_HOOK_VOLATILE __memalign_hook)(size_t __alignment,
 __MALLOC_DEPRECATED;
 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
 #endif /* malloc.h */