diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-03-08 21:27:42 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-03-08 21:27:42 +0000 |
commit | a222d91a13149b7034226ff35c55760989089cbd (patch) | |
tree | 1c2ecae0c9cd09dcafd47216d7eed8a6e41a1731 /malloc/malloc.h | |
parent | 5cc45e102bdc19dec494e4ae8f0eb832f11af3e5 (diff) | |
download | glibc-a222d91a13149b7034226ff35c55760989089cbd.zip glibc-a222d91a13149b7034226ff35c55760989089cbd.tar.gz glibc-a222d91a13149b7034226ff35c55760989089cbd.tar.bz2 |
Remove __malloc_ptr_t.
Diffstat (limited to 'malloc/malloc.h')
-rw-r--r-- | malloc/malloc.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/malloc/malloc.h b/malloc/malloc.h index cd691f1..b8b0ca3 100644 --- a/malloc/malloc.h +++ b/malloc/malloc.h @@ -22,7 +22,6 @@ #include <features.h> #include <stddef.h> #include <stdio.h> -# define __malloc_ptr_t void * #ifdef _LIBC # define __MALLOC_HOOK_VOLATILE @@ -149,18 +148,18 @@ extern void (*__MALLOC_HOOK_VOLATILE __malloc_initialize_hook) (void) __MALLOC_DEPRECATED; /* Hooks for debugging and user-defined versions. */ extern void (*__MALLOC_HOOK_VOLATILE __free_hook) (void *__ptr, - const __malloc_ptr_t) + const void *) __MALLOC_DEPRECATED; extern void *(*__MALLOC_HOOK_VOLATILE __malloc_hook) (size_t __size, - const __malloc_ptr_t) + const void *) __MALLOC_DEPRECATED; extern void *(*__MALLOC_HOOK_VOLATILE __realloc_hook) (void *__ptr, size_t __size, - const __malloc_ptr_t) + const void *) __MALLOC_DEPRECATED; extern void *(*__MALLOC_HOOK_VOLATILE __memalign_hook) (size_t __alignment, size_t __size, - const __malloc_ptr_t) + const void *) __MALLOC_DEPRECATED; extern void (*__MALLOC_HOOK_VOLATILE __after_morecore_hook) (void); |