From ba95abb506c535ebbbcb620620bf22e9935c137b Mon Sep 17 00:00:00 2001 From: deraadt Date: Sat, 24 Nov 2007 19:25:02 +0000 Subject: ansi C --- sys/lib/libkern/htons.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/lib/libkern/htons.c') diff --git a/sys/lib/libkern/htons.c b/sys/lib/libkern/htons.c index 9a8d4053cf7..47ffe694094 100644 --- a/sys/lib/libkern/htons.c +++ b/sys/lib/libkern/htons.c @@ -4,7 +4,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: htons.c,v 1.5 2004/11/28 07:23:41 mickey Exp $"; +static char *rcsid = "$OpenBSD: htons.c,v 1.6 2007/11/24 19:25:02 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -12,6 +12,8 @@ static char *rcsid = "$OpenBSD: htons.c,v 1.5 2004/11/28 07:23:41 mickey Exp $"; #undef htons +u_int16_t htons(u_int16_t); + u_int16_t htons(u_int16_t x) { -- cgit v1.2.3-59-g8ed1b