]> git.pond.sub.org Git - empserver/commitdiff
fairland: Move #include to the beginning where they belong
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 26 Jul 2020 11:48:26 +0000 (13:48 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 5 Jan 2021 09:41:35 +0000 (10:41 +0100)
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/util/fairland.c

index d7d21d72734c2602b2d10b78053c82af2ac20bd3..c48f1f5f83ad2e19f7d5c818d78734b35f413352 100644 (file)
 
 #include <config.h>
 
+#include <assert.h>
+#include <errno.h>
+#include <stdarg.h>
+#include <stdio.h>
+#include <unistd.h>
+#include "chance.h"
+#include "optlist.h"
+#include "prototypes.h"
+#include "sect.h"
+#include "version.h"
+#include "xy.h"
+
 /* define ORE 1 to add resources, define ORE 0 if you want to use another
    program to add the resources */
 static int ORE = 1;
@@ -129,18 +141,6 @@ static int quiet = 0;
 /* lower URAN_MIN for more uranium */
 #define URAN_MIN   56
 
-#include <assert.h>
-#include <errno.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <unistd.h>
-#include "chance.h"
-#include "optlist.h"
-#include "prototypes.h"
-#include "sect.h"
-#include "version.h"
-#include "xy.h"
-
 /* do not change these 4 defines */
 #define LANDMIN                1       /* plate altitude for normal land */
 #define HILLMIN                34      /* plate altitude for hills */