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

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