Remove unused hton16.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/qt-trunk@11080 4a71c877-e1ca-e34f-864e-861f7616d084
master
Christian Ohm 2010-07-01 19:46:31 +00:00 committed by Git SVN Gateway
parent 3d256c8b39
commit 7cfcfc2f82
1 changed files with 0 additions and 8 deletions

View File

@ -298,14 +298,6 @@ static BOOL NET_fillBuffer(NETBUFSOCKET* bs, SocketSet* socket_set)
return false;
}
static uint16_t hton16(uint16_t h)
{
uint8_t n[2] = {h>>8, h};
uint16_t n_;
memcpy(&n_, n, 2);
return n_;
}
static uint16_t ntoh16(uint16_t n_)
{
uint8_t n[2];