summaryrefslogtreecommitdiff
path: root/userland/libc/arpa/inet/ntohs.c
blob: e0324ff8a1db11dbfff6cb59d1b8099020d93542 (plain)
1
2
3
4
5
6
7
#include <arpa/inet.h>
#include <endian.h>
#include <stdint.h>

uint16_t ntohs(uint16_t nl) {
	return htons(nl);
}