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

c6d234
commit 70996a373dd38296254029423ae6d87c02e7184a
c6d234
Author: Roland McGrath <roland@hack.frob.com>
c6d234
Date:   Fri Oct 24 12:37:36 2014 -0700
c6d234
c6d234
    Prototypify htonl and htons definitions.
c6d234
c6d234
diff --git a/inet/htonl.c b/inet/htonl.c
c6d234
index 1d2d25f0498ba468..40145e55e0e7931f 100644
c6d234
--- a/inet/htonl.c
c6d234
+++ b/inet/htonl.c
c6d234
@@ -21,8 +21,7 @@
c6d234
 #undef	ntohl
c6d234
 
c6d234
 uint32_t
c6d234
-htonl (x)
c6d234
-     uint32_t x;
c6d234
+htonl (uint32_t x)
c6d234
 {
c6d234
 #if BYTE_ORDER == BIG_ENDIAN
c6d234
   return x;
c6d234
diff --git a/inet/htons.c b/inet/htons.c
c6d234
index 92cb4ea56786a91c..9651ebbd3a83fdbb 100644
c6d234
--- a/inet/htons.c
c6d234
+++ b/inet/htons.c
c6d234
@@ -21,8 +21,7 @@
c6d234
 #undef	ntohs
c6d234
 
c6d234
 uint16_t
c6d234
-htons (x)
c6d234
-     uint16_t x;
c6d234
+htons (uint16_t x)
c6d234
 {
c6d234
 #if BYTE_ORDER == BIG_ENDIAN
c6d234
   return x;