+++ /dev/null
-/* $NetBSD: bswap32.c,v 1.1 2005/12/20 19:28:51 christos Exp $ */\r
-\r
-/*\r
- * Written by Manuel Bouyer <bouyer@NetBSD.org>.\r
- * Public domain.\r
- */\r
-\r
-//#include <sys/cdefs.h>\r
-//#if defined(LIBC_SCCS) && !defined(lint)\r
-//__RCSID("$NetBSD: bswap32.c,v 1.1 2005/12/20 19:28:51 christos Exp $");\r
-//#endif /* LIBC_SCCS and not lint */\r
-\r
-//#include <sys/types.h>\r
-//#include <machine/bswap.h>\r
-\r
-#undef bswap32\r
-\r
-UINT32\r
-bswap32(UINT32 x)\r
-{\r
- return ((x << 24) & 0xff000000 ) |\r
- ((x << 8) & 0x00ff0000 ) |\r
- ((x >> 8) & 0x0000ff00 ) |\r
- ((x >> 24) & 0x000000ff );\r
-}\r