diff options
author | 1996-11-27 19:51:39 +0000 | |
---|---|---|
committer | 1996-11-27 19:51:39 +0000 | |
commit | 972ec0e597a3ffe83e02f258f556130e38bce7ab (patch) | |
tree | ce2f4c837d851a89e287884145302f74c060cfc7 /sys/lib/libkern/ntohl.c | |
parent | include libkern.h prior to stand.h to not to collide m{in,ax} definitions. (diff) | |
download | wireguard-openbsd-972ec0e597a3ffe83e02f258f556130e38bce7ab.tar.xz wireguard-openbsd-972ec0e597a3ffe83e02f258f556130e38bce7ab.zip |
short and long are now u_int16_t and u_int32_t
Diffstat (limited to 'sys/lib/libkern/ntohl.c')
-rw-r--r-- | sys/lib/libkern/ntohl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/lib/libkern/ntohl.c b/sys/lib/libkern/ntohl.c index 167ee5f9b66..5d5d97e3351 100644 --- a/sys/lib/libkern/ntohl.c +++ b/sys/lib/libkern/ntohl.c @@ -1,3 +1,4 @@ +/* $OpenBSD: ntohl.c,v 1.3 1996/11/27 19:51:41 niklas Exp $ */ /* $NetBSD: ntohl.c,v 1.6.6.1 1996/05/29 23:48:07 cgd Exp $ */ /* @@ -14,9 +15,9 @@ static char *rcsid = "$NetBSD: ntohl.c,v 1.6.6.1 1996/05/29 23:48:07 cgd Exp $"; #undef ntohl -unsigned long +u_int32_t ntohl(x) - unsigned long x; + u_int32_t x; { u_int32_t y = x; |