Author: cazfi
Date: Wed Sep  9 05:15:25 2015
New Revision: 29825

URL: http://svn.gna.org/viewcvs/freeciv?rev=29825&view=rev
Log:
Removed MAX_UINT32 definition from rand.h

See patch #6327

Modified:
    trunk/utility/rand.c
    trunk/utility/rand.h
    trunk/utility/shared.h

Modified: trunk/utility/rand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/utility/rand.c?rev=29825&r1=29824&r2=29825&view=diff
==============================================================================
--- trunk/utility/rand.c        (original)
+++ trunk/utility/rand.c        Wed Sep  9 05:15:25 2015
@@ -37,6 +37,7 @@
 
 /* utility */
 #include "log.h"
+#include "shared.h"
 #include "support.h"            /* TRUE, FALSE */
 
 #include "rand.h"

Modified: trunk/utility/rand.h
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/utility/rand.h?rev=29825&r1=29824&r2=29825&view=diff
==============================================================================
--- trunk/utility/rand.h        (original)
+++ trunk/utility/rand.h        Wed Sep  9 05:15:25 2015
@@ -22,9 +22,6 @@
 /* Utility */
 #include "log.h"
 #include "support.h"            /* bool type */
-
-/* This is duplicated in shared.h to avoid extra includes: */
-#define MAX_UINT32 0xFFFFFFFF
 
 typedef uint32_t RANDOM_TYPE;
 

Modified: trunk/utility/shared.h
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/utility/shared.h?rev=29825&r1=29824&r2=29825&view=diff
==============================================================================
--- trunk/utility/shared.h      (original)
+++ trunk/utility/shared.h      Wed Sep  9 05:15:25 2015
@@ -60,7 +60,6 @@
 #define DIVIDE(n, d) \
     ( (n) / (d) - (( (n) < 0 && (n) % (d) < 0 ) ? 1 : 0) )
 
-/* This is duplicated in rand.h to avoid extra includes: */
 #define MAX_UINT32 0xFFFFFFFF
 #define MAX_UINT16 0xFFFF
 #define MAX_UINT8 0xFF


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to