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

00db10
commit bf438382bd8ffcc614b01e9a273a577b3ed54f9f
00db10
Author: Joseph Myers <joseph@codesourcery.com>
00db10
Date:   Thu Nov 13 21:37:53 2014 +0000
00db10
00db10
    Use prototype definition for __strtol.
00db10
    
00db10
    This patch fixes those warnings by using a prototype definition for
00db10
    __strtol.
00db10
    
00db10
    Tested for x86_64 that stripped installed shared libraries are
00db10
    unchanged by this patch.
00db10
    
00db10
            * stdlib/strtol.c (__strtol): Use prototype definition.
00db10
00db10
Conflicts:
00db10
	stdlib/strtol.c
00db10
00db10
Adjusted for missing backport of the fix for swbz#17594.
00db10
00db10
diff --git a/stdlib/strtol.c b/stdlib/strtol.c
00db10
index 44e2af472ddc4144..67d758c57973b5d5 100644
00db10
--- a/stdlib/strtol.c
00db10
+++ b/stdlib/strtol.c
00db10
@@ -101,10 +101,7 @@ libc_hidden_def (INTERNAL (strtol))
00db10
 
00db10
 
00db10
 INT
00db10
-strtol (nptr, endptr, base)
00db10
-     const STRING_TYPE *nptr;
00db10
-     STRING_TYPE **endptr;
00db10
-     int base;
00db10
+strtol (const STRING_TYPE *nptr, STRING_TYPE **endptr, int base)
00db10
 {
00db10
   return INTERNAL (__strtol_l) (nptr, endptr, base, 0, _NL_CURRENT_LOCALE);
00db10
 }