aboutsummaryrefslogtreecommitdiff
path: root/include/malloc.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-02-07 22:01:49 +0000
committerUlrich Drepper <drepper@redhat.com>2009-02-07 22:01:49 +0000
commit78ac92ad8d6c97c57d09bef01608622706b24f65 (patch)
treee012386e36d8768df6812074fb62b2450aebe6bc /include/malloc.h
parent7dddb4bd1e22d8aa3cb2af9f5116ceec394d2d44 (diff)
downloadglibc-78ac92ad8d6c97c57d09bef01608622706b24f65.tar
glibc-78ac92ad8d6c97c57d09bef01608622706b24f65.tar.gz
glibc-78ac92ad8d6c97c57d09bef01608622706b24f65.tar.bz2
glibc-78ac92ad8d6c97c57d09bef01608622706b24f65.zip
* malloc/malloc.c (_int_free): Second argument is now mchunkptr.
Change all callers. (_int_realloc): Likewise. All _int_* functions are now static. * malloc/hooks.c: Change all callers to _int_free and _int_realloc. * malloc/arena.c: Likewise. * include/malloc.h: Remove now unnecessary declarations of the _int_* functions.
Diffstat (limited to 'include/malloc.h')
-rw-r--r--include/malloc.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/malloc.h b/include/malloc.h
index 1a20248559..42fc8ed696 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -8,20 +8,7 @@
/* Nonzero if the malloc is already initialized. */
extern int __malloc_initialized attribute_hidden;
-/* Internal routines, operating on "arenas". */
struct malloc_state;
typedef struct malloc_state *mstate;
-extern __malloc_ptr_t _int_malloc (mstate __m, size_t __size) attribute_hidden;
-extern void _int_free (mstate __m, __malloc_ptr_t __ptr)
- attribute_hidden;
-extern __malloc_ptr_t _int_realloc (mstate __m,
- __malloc_ptr_t __ptr,
- size_t __size) attribute_hidden;
-extern __malloc_ptr_t _int_memalign (mstate __m, size_t __alignment,
- size_t __size)
- attribute_hidden;
-extern __malloc_ptr_t _int_valloc (mstate __m, size_t __size)
- attribute_hidden;
-
#endif