summaryrefslogtreecommitdiff
path: root/userland/libc/arpa/inet/ntohs.c
blob: 0a97b50df27d8ec972fa42b6922babe5b01a0b56 (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);
}