mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
* malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc, and __default_morecore with __attribute_malloc__.
This commit is contained in:
@ -16,8 +16,8 @@
|
|||||||
__attribute_malloc__.
|
__attribute_malloc__.
|
||||||
* stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
|
* stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
|
||||||
__attribute_malloc__.
|
__attribute_malloc__.
|
||||||
* malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvallc,
|
* malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
|
||||||
__morecore, and __default_morecore with __attribute_malloc__.
|
and __default_morecore with __attribute_malloc__.
|
||||||
Provide default definition for __attribute_malloc__.
|
Provide default definition for __attribute_malloc__.
|
||||||
* libio/stdio.h: Make tempnam with __attribute_malloc__.
|
* libio/stdio.h: Make tempnam with __attribute_malloc__.
|
||||||
|
|
||||||
|
@ -147,8 +147,7 @@ extern __malloc_ptr_t pvalloc __MALLOC_P ((size_t __size))
|
|||||||
|
|
||||||
/* Underlying allocation function; successive calls should return
|
/* Underlying allocation function; successive calls should return
|
||||||
contiguous pieces of memory. */
|
contiguous pieces of memory. */
|
||||||
extern __malloc_ptr_t (*__morecore) __MALLOC_PMT ((ptrdiff_t __size))
|
extern __malloc_ptr_t (*__morecore) __MALLOC_PMT ((ptrdiff_t __size));
|
||||||
__attribute_malloc__;
|
|
||||||
|
|
||||||
/* Default value of `__morecore'. */
|
/* Default value of `__morecore'. */
|
||||||
extern __malloc_ptr_t __default_morecore __MALLOC_P ((ptrdiff_t __size))
|
extern __malloc_ptr_t __default_morecore __MALLOC_P ((ptrdiff_t __size))
|
||||||
|
Reference in New Issue
Block a user