summaryrefslogtreecommitdiff
path: root/src/network/ntohs.c
AgeCommit message (Collapse)AuthorFilesLines
2011-04-12optimize ntohl etc. in terms of bswap functionsRich Felker1-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 Felker1-0/+10