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