]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/LibC/Main/bswap32.c
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / StdLib / LibC / Main / bswap32.c
diff --git a/StdLib/LibC/Main/bswap32.c b/StdLib/LibC/Main/bswap32.c
deleted file mode 100644 (file)
index f573a54..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-/*  $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