From 70996a373dd38296254029423ae6d87c02e7184a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 24 Oct 2014 12:37:36 -0700 Subject: Prototypify htonl and htons definitions. --- inet/htonl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'inet/htonl.c') diff --git a/inet/htonl.c b/inet/htonl.c index 3829e4f..290e2ae 100644 --- a/inet/htonl.c +++ b/inet/htonl.c @@ -22,8 +22,7 @@ #undef ntohl uint32_t -htonl (x) - uint32_t x; +htonl (uint32_t x) { #if BYTE_ORDER == BIG_ENDIAN return x; -- cgit v1.1