mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Remove __malloc_ptrdiff_t.
This commit is contained in:
@@ -24,9 +24,6 @@
|
||||
#include <stdio.h>
|
||||
# define __malloc_ptr_t void *
|
||||
|
||||
/* Used by GNU libc internals. */
|
||||
#define __malloc_ptrdiff_t ptrdiff_t
|
||||
|
||||
#ifdef _LIBC
|
||||
# define __MALLOC_HOOK_VOLATILE
|
||||
# define __MALLOC_DEPRECATED
|
||||
|
@@ -43,7 +43,7 @@ libc_hidden_proto (__sbrk)
|
||||
If INCREMENT is negative, shrink data space. */
|
||||
__malloc_ptr_t
|
||||
__default_morecore (increment)
|
||||
__malloc_ptrdiff_t increment;
|
||||
ptrdiff_t increment;
|
||||
{
|
||||
__malloc_ptr_t result = (__malloc_ptr_t) __sbrk (increment);
|
||||
if (result == (__malloc_ptr_t) -1)
|
||||
|
Reference in New Issue
Block a user