From 585c056622af4adfe762a48f81c1ff7060880fea Mon Sep 17 00:00:00 2001 From: tholo <> Date: Thu, 12 Dec 1996 03:19:56 +0000 Subject: Update {hton,ntoh}[ls] argument and return types to match changes in --- src/lib/libc/net/htons.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/libc/net/htons.c') diff --git a/src/lib/libc/net/htons.c b/src/lib/libc/net/htons.c index f0554f2166..e647d8c91e 100644 --- a/src/lib/libc/net/htons.c +++ b/src/lib/libc/net/htons.c @@ -4,7 +4,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: htons.c,v 1.4 1996/08/19 08:29:05 tholo Exp $"; +static char *rcsid = "$OpenBSD: htons.c,v 1.5 1996/12/12 03:19:55 tholo Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -12,12 +12,12 @@ static char *rcsid = "$OpenBSD: htons.c,v 1.4 1996/08/19 08:29:05 tholo Exp $"; #undef htons -unsigned short +u_int16_t #if __STDC__ -htons(unsigned short x) +htons(u_int16_t x) #else htons(x) - unsigned short x; + u_int16_t x; #endif { #if BYTE_ORDER == LITTLE_ENDIAN -- cgit v1.2.3-55-g6feb