summaryrefslogtreecommitdiff
path: root/src/macros.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-02-22 08:43:02 +0000
committertron <tron@openttd.org>2007-02-22 08:43:02 +0000
commit103d119c510a83c3b0cca20328ad4d87e8159d6a (patch)
tree2048730a2bf93500bc8d9112bae1371da5ba8b87 /src/macros.h
parent0d041a87cc475253176f796c156a3c49032eb415 (diff)
downloadopenttd-103d119c510a83c3b0cca20328ad4d87e8159d6a.tar.xz
(svn r8841) -Fix
Remove {,u}intswap() and replace them by Swap()
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/macros.h b/src/macros.h
index a16d4ddb3..d48903b90 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -151,11 +151,6 @@ static inline int KillFirstBit2x64(int value)
#define abs myabs
-static inline int intxchg_(int *a, int b) { int t = *a; *a = b; return t; }
-#define intswap(a,b) ((b) = intxchg_(&(a), (b)))
-static inline int uintxchg_(uint *a, uint b) { uint t = *a; *a = b; return t; }
-#define uintswap(a,b) ((b) = uintxchg_(&(a), (b)))
-
static inline uint16 ReadLE16Aligned(const void* x)
{