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