From a26aa41994e8a6961f009870b31f84fec938f9c8 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sat, 7 Aug 2004 00:38:32 +0000 Subject: ansi and some missing protos --- sys/lib/libkern/htonl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/lib/libkern/htonl.c') diff --git a/sys/lib/libkern/htonl.c b/sys/lib/libkern/htonl.c index 9ff932a1b1d..38faf1309f5 100644 --- a/sys/lib/libkern/htonl.c +++ b/sys/lib/libkern/htonl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: htonl.c,v 1.3 1996/11/27 19:51:39 niklas Exp $ */ +/* $OpenBSD: htonl.c,v 1.4 2004/08/07 00:38:32 deraadt Exp $ */ /* $NetBSD: htonl.c,v 1.6.6.1 1996/05/29 23:47:55 cgd Exp $ */ /* @@ -16,8 +16,7 @@ static char *rcsid = "$NetBSD: htonl.c,v 1.6.6.1 1996/05/29 23:47:55 cgd Exp $"; #undef htonl u_int32_t -htonl(x) - u_int32_t x; +htonl(u_int32_t x) { u_int32_t y = x; -- cgit v1.2.3-59-g8ed1b