packages feed

git-annex-5.20150522: standalone/android/tmp/network-2.4.1.2/cbits/HsNet.c

/* -----------------------------------------------------------------------------
 * (c) The University of Glasgow 2002
 *
 * static versions of the inline functions from HsNet.h
 * -------------------------------------------------------------------------- */

#define INLINE
#include "HsNet.h"

#include <sys/endian.h>
uint16_t my_htons(uint16_t v)
{
	htons(v);
}
uint32_t my_htonl(uint32_t v)
{
	htonl(v);
}
uint16_t my_ntohs(uint16_t v)
{
	ntohs(v);
}