Blame SOURCES/glibc-rh1505492-prototypes-2.patch

c6d234
commit 5cc45e102bdc19dec494e4ae8f0eb832f11af3e5
c6d234
Author: Joseph Myers <joseph@codesourcery.com>
c6d234
Date:   Fri Mar 8 16:47:43 2013 +0000
c6d234
c6d234
    Use ISO C prototype for __default_morecore.
c6d234
c6d234
diff --git a/malloc/morecore.c b/malloc/morecore.c
c6d234
index 1e7b77749ff1700d..de013bda22ff6fb9 100644
c6d234
--- a/malloc/morecore.c
c6d234
+++ b/malloc/morecore.c
c6d234
@@ -42,8 +42,7 @@ libc_hidden_proto (__sbrk)
c6d234
    and return the start of data space, or NULL on errors.
c6d234
    If INCREMENT is negative, shrink data space.  */
c6d234
 __malloc_ptr_t
c6d234
-__default_morecore (increment)
c6d234
-     ptrdiff_t increment;
c6d234
+__default_morecore (ptrdiff_t increment)
c6d234
 {
c6d234
   __malloc_ptr_t result = (__malloc_ptr_t) __sbrk (increment);
c6d234
   if (result == (__malloc_ptr_t) -1)