1/* $OpenBSD: ntohl.c,v 1.8 2024/04/15 14:30:48 naddy Exp $ */ 2/* 3 * Public domain. 4 */ 5 6#include <sys/types.h> 7#include <endian.h> 8 9#undef ntohl 10 11uint32_t 12ntohl(uint32_t x) 13{ 14 return be32toh(x); 15} 16