1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Remove __malloc_ptr_t.

This commit is contained in:
Joseph Myers
2013-03-08 21:27:42 +00:00
parent 5cc45e102b
commit a222d91a13
6 changed files with 62 additions and 36 deletions

View File

@ -25,7 +25,7 @@
initialization routine, then do the normal work. */
static void*
malloc_hook_ini(size_t sz, const __malloc_ptr_t caller)
malloc_hook_ini(size_t sz, const void *caller)
{
__malloc_hook = NULL;
ptmalloc_init();
@ -33,7 +33,7 @@ malloc_hook_ini(size_t sz, const __malloc_ptr_t caller)
}
static void*
realloc_hook_ini(void* ptr, size_t sz, const __malloc_ptr_t caller)
realloc_hook_ini(void* ptr, size_t sz, const void *caller)
{
__malloc_hook = NULL;
__realloc_hook = NULL;
@ -42,7 +42,7 @@ realloc_hook_ini(void* ptr, size_t sz, const __malloc_ptr_t caller)
}
static void*
memalign_hook_ini(size_t alignment, size_t sz, const __malloc_ptr_t caller)
memalign_hook_ini(size_t alignment, size_t sz, const void *caller)
{
__memalign_hook = NULL;
ptmalloc_init();