summaryrefslogtreecommitdiff
path: root/src/network/ntohs.c
AgeCommit message (Collapse)AuthorLines
2011-04-12optimize ntohl etc. in terms of bswap functionsRich Felker-5/+3
we can do this without violating the namespace now that they are macros/inline functions rather than extern functions. the motivation is that gcc was generating giant, slow, horrible code for the old functions, and now generates a single byte-swapping instruction.
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+10