diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-10-24 12:37:36 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-10-24 12:37:36 -0700 |
commit | 70996a373dd38296254029423ae6d87c02e7184a (patch) | |
tree | 076fa71693036a75bd81b58a3acf95d3fe673c46 /inet/htons.c | |
parent | e80514b5a87c86a92352ce526c4b9db85f2a242c (diff) | |
download | glibc-70996a373dd38296254029423ae6d87c02e7184a.tar.gz |
Prototypify htonl and htons definitions.
Diffstat (limited to 'inet/htons.c')
-rw-r--r-- | inet/htons.c | 3 |
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; |