From a237a947ed5492bfe2a9118219211a2106203126 Mon Sep 17 00:00:00 2001 From: Nathan Houghton Date: Sun, 4 Oct 2015 11:36:26 -0700 Subject: [PATCH] Remove now unused __bswap.c --- tools/__bswap.c | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 tools/__bswap.c diff --git a/tools/__bswap.c b/tools/__bswap.c deleted file mode 100644 index 3bde966f..00000000 --- a/tools/__bswap.c +++ /dev/null @@ -1,47 +0,0 @@ -/*====================================================================* - * - * __bswap.c - byte swap functions; - * - * endian.h - * - * alternative byte-swap functions for systems without them (such - * as Microsoft Windows); - * - * Motley Tools by Charles Maier; - * Copyright (c) 2001-2006 by Charles Maier Associates; - * Licensed under the Internet Software Consortium License; - * - *--------------------------------------------------------------------*/ - -#ifndef __BSWAP_SOURCE -#define __BSWAP_SOURCE - -#include - -#include "../tools/endian.h" -#include "../tools/memory.h" - -uint16_t __bswap_16 (uint16_t x) - -{ - reverse (&x, sizeof (x)); - return (x); -} - -uint32_t __bswap_32 (uint32_t x) - -{ - reverse (&x, sizeof (x)); - return (x); -} - -uint64_t __bswap_64 (uint64_t x) - -{ - reverse (&x, sizeof (x)); - return (x); -} - - -#endif -