summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/ntohl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/lib/libkern/ntohl.c')
-rw-r--r--sys/lib/libkern/ntohl.c5
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;