aboutsummaryrefslogtreecommitdiff
path: root/malloc/arena.c
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/arena.c
parent5cc45e102bdc19dec494e4ae8f0eb832f11af3e5 (diff)
downloadglibc-a222d91a13149b7034226ff35c55760989089cbd.tar
glibc-a222d91a13149b7034226ff35c55760989089cbd.tar.gz
glibc-a222d91a13149b7034226ff35c55760989089cbd.tar.bz2
glibc-a222d91a13149b7034226ff35c55760989089cbd.zip
Remove __malloc_ptr_t.
Diffstat (limited to 'malloc/arena.c')
-rw-r--r--malloc/arena.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/malloc/arena.c b/malloc/arena.c
index 7d51a9dd14..12a48ad7ba 100644
--- a/malloc/arena.c
+++ b/malloc/arena.c
@@ -144,11 +144,9 @@ int __malloc_initialized = -1;
/* atfork support. */
-static __malloc_ptr_t (*save_malloc_hook) (size_t __size,
- const __malloc_ptr_t);
-static void (*save_free_hook) (__malloc_ptr_t __ptr,
- const __malloc_ptr_t);
-static void* save_arena;
+static void *(*save_malloc_hook) (size_t __size, const void *);
+static void (*save_free_hook) (void *__ptr, const void *);
+static void *save_arena;
#ifdef ATFORK_MEM
ATFORK_MEM;