diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-02-07 22:01:49 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-02-07 22:01:49 +0000 |
commit | 78ac92ad8d6c97c57d09bef01608622706b24f65 (patch) | |
tree | e012386e36d8768df6812074fb62b2450aebe6bc /include | |
parent | * sunrpc/rpc_common.c: We cannot move _null_auth into .rodata that (diff) | |
download | 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')
-rw-r--r-- | include/malloc.h | 13 |
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 |