diff --git a/src/modules/autoseed.c b/src/modules/autoseed.c index cc0d0752c..862bd5768 100644 --- a/src/modules/autoseed.c +++ b/src/modules/autoseed.c @@ -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) { region *rn[MAXDIRECTIONS]; diff --git a/src/util/goodies.h b/src/util/goodies.h index 39bf6a54c..b774bbb04 100644 --- a/src/util/goodies.h +++ b/src/util/goodies.h @@ -53,7 +53,6 @@ extern "C" { #define HASH1 JENKINS_HASH1 #define HASH2 JENKINS_HASH2 -#define SWAP_INTS(a, b) { a^=b; b^=a; a^=b; } #ifdef __cplusplus } #endif