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

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