summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-17 09:41:28 +0000
committertron <tron@openttd.org>2005-07-17 09:41:28 +0000
commit10bc66eb42bb731ecb77f8771ce10f7e91427c5f (patch)
treecdb82083e05a8aa2c0e78967b709a832fb2801d9 /misc.c
parent9ca761b06534ed191b0624a6c7049db296997a73 (diff)
downloadopenttd-10bc66eb42bb731ecb77f8771ce10f7e91427c5f.tar.xz
(svn r2596) Add macros ROL and ROR to ROtate values Left/Right. Also shorten the parameter names for GB and SB to increase readability
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/misc.c b/misc.c
index f7b6c120a..0601de81d 100644
--- a/misc.c
+++ b/misc.c
@@ -19,11 +19,6 @@ extern void InitNewsItemStructs(void);
char _name_array[512][32];
-static inline uint32 ROR(uint32 x, int n)
-{
- return (x >> n) + (x << ((sizeof(x)*8)-n));
-}
-
#ifndef MERSENNE_TWISTER
#ifdef RANDOM_DEBUG