aboutsummaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-03-08 16:46:45 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-03-08 16:46:45 +0000
commitdd54b8644c60cd7b7bee27ecaae4138e7c056c01 (patch)
tree77b01ed80818f6033372b62739143b3e3eedac4e /malloc
parent1ba4f03035faabd9090f61ec5514e2abced5ca29 (diff)
downloadglibc-dd54b8644c60cd7b7bee27ecaae4138e7c056c01.zip
glibc-dd54b8644c60cd7b7bee27ecaae4138e7c056c01.tar.gz
glibc-dd54b8644c60cd7b7bee27ecaae4138e7c056c01.tar.bz2
Remove __malloc_ptrdiff_t.
Diffstat (limited to 'malloc')
-rw-r--r--malloc/malloc.h3
-rw-r--r--malloc/morecore.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/malloc/malloc.h b/malloc/malloc.h
index 4695b7d..cd691f1 100644
--- a/malloc/malloc.h
+++ b/malloc/malloc.h
@@ -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
diff --git a/malloc/morecore.c b/malloc/morecore.c
index 3b19406..57284e0 100644
--- a/malloc/morecore.c
+++ b/malloc/morecore.c
@@ -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)