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