aboutsummaryrefslogtreecommitdiff
path: root/util/byteorder.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-12-24 17:44:23 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-12-24 17:44:33 +0100
commitff93091a1eb79d59f4939a3260a64a5d241c0937 (patch)
tree63c19684c1d44a186178d4dc4eda221e94da9739 /util/byteorder.h
parent429b1d985ff250598acaa9d4558d621917c3afd5 (diff)
downloadgnumach-ff93091a1eb79d59f4939a3260a64a5d241c0937.tar.gz
gnumach-ff93091a1eb79d59f4939a3260a64a5d241c0937.tar.bz2
gnumach-ff93091a1eb79d59f4939a3260a64a5d241c0937.zip
Add missing htons
Diffstat (limited to 'util/byteorder.h')
-rw-r--r--util/byteorder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/byteorder.h b/util/byteorder.h
index 2b780ffe..fbec39e3 100644
--- a/util/byteorder.h
+++ b/util/byteorder.h
@@ -26,6 +26,7 @@
uint16_t ntohs(uint16_t netshort);
uint32_t ntohl(uint32_t netlong);
+uint16_t htons(uint16_t hostshort);
uint32_t htonl(uint32_t hostlong);
#endif /* _UTIL_BYTEORDER_H_ */