this single-use macro doesn't belong there

This commit is contained in:
Enno Rehling 2014-03-17 00:42:46 -07:00
parent 1ec18b8fd9
commit 52e64ac418
2 changed files with 2 additions and 1 deletions

View File

@ -922,6 +922,8 @@ static void oceans_around(region * r, region * rn[])
} }
} }
#define SWAP_INTS(a, b) { a^=b; b^=a; a^=b; }
static void smooth_island(region_list * island) static void smooth_island(region_list * island)
{ {
region *rn[MAXDIRECTIONS]; region *rn[MAXDIRECTIONS];

View File

@ -53,7 +53,6 @@ extern "C" {
#define HASH1 JENKINS_HASH1 #define HASH1 JENKINS_HASH1
#define HASH2 JENKINS_HASH2 #define HASH2 JENKINS_HASH2
#define SWAP_INTS(a, b) { a^=b; b^=a; a^=b; }
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif