aboutsummaryrefslogtreecommitdiff
path: root/inet/htons.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/htons.c')
-rw-r--r--inet/htons.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/inet/htons.c b/inet/htons.c
index 6305996126..42fb723539 100644
--- a/inet/htons.c
+++ b/inet/htons.c
@@ -21,8 +21,7 @@
#undef ntohs
uint16_t
-htons (x)
- uint16_t x;
+htons (uint16_t x)
{
#if BYTE_ORDER == BIG_ENDIAN
return x;