(svn r2596) Add macros ROL and ROR to ROtate values Left/Right. Also shorten the parameter names for GB and SB to increase readability

This commit is contained in:
tron
2005-07-17 09:41:28 +00:00
parent 9ca761b065
commit 10bc66eb42
2 changed files with 11 additions and 9 deletions

5
misc.c
View File

@@ -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