From c3069bdab9a0dffa6ec2587c164645aa43472655 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Fri, 18 May 2001 15:32:11 +0000 Subject: [PATCH] just use standard C types git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9987 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/bswap.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/roken/bswap.c b/lib/roken/bswap.c index 4a8ed8042..c3e47d8a9 100644 --- a/lib/roken/bswap.c +++ b/lib/roken/bswap.c @@ -40,13 +40,8 @@ RCSID("$Id$"); #ifndef HAVE_BSWAP32 -#ifndef HAVE_U_INT32_T unsigned int bswap32 (unsigned int val) -#else -u_int32_t -bswap32 (u_int32_t val) -#endif { return (val & 0xff) << 24 | (val & 0xff00) << 8 | @@ -57,13 +52,8 @@ bswap32 (u_int32_t val) #ifndef HAVE_BSWAP16 -#ifndef HAVE_U_INT16_T unsigned short bswap16 (unsigned short val) -#else -u_int16_t -bswap16 (u_int16_t val) -#endif { return (val & 0xff) << 8 | (val & 0xff00) >> 8;