about summary refs log tree commit diff
path: root/malloc/malloc.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-03-08 21:27:42 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-03-08 21:27:42 +0000
commita222d91a13149b7034226ff35c55760989089cbd (patch)
tree1c2ecae0c9cd09dcafd47216d7eed8a6e41a1731 /malloc/malloc.h
parent5cc45e102bdc19dec494e4ae8f0eb832f11af3e5 (diff)
downloadglibc-a222d91a13149b7034226ff35c55760989089cbd.tar.gz
glibc-a222d91a13149b7034226ff35c55760989089cbd.tar.xz
glibc-a222d91a13149b7034226ff35c55760989089cbd.zip
Remove __malloc_ptr_t.
Diffstat (limited to 'malloc/malloc.h')
-rw-r--r--malloc/malloc.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/malloc/malloc.h b/malloc/malloc.h
index cd691f103c..b8b0ca34ca 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);