#include <config.h>
+#include <ctype.h>
#include "commands.h"
#include "news.h"
#include "optlist.h"
-#include <ctype.h>
int
chan(void)
#include <config.h>
+#include <stdio.h>
#include "../as/as.h"
#include "file.h"
#include "misc.h"
#include "prototypes.h"
#include "sect.h"
#include "xy.h"
-#include <stdio.h>
#define BP_ASHASHSIZE 128 /* A* queue hash table size */
#define BP_NEIGHBORS 6 /* max number of neighbors */
#include <config.h>
+#include <stdlib.h>
#include "distribute.h"
#include "path.h"
#include "update.h"
-#include <stdlib.h>
/* Used for building up distribution info */
struct distinfo {
#include <config.h>
+#include <math.h>
#include "budg.h"
#include "item.h"
#include "news.h"
#include "player.h"
#include "update.h"
#include "xy.h"
-#include <math.h>
static int growfood(struct sctstr *, short *, int, int);
static int starve_some(short *, i_type, int);
#include <config.h>
+#include <math.h>
#include "budg.h"
#include "land.h"
#include "lost.h"
#include "player.h"
#include "ship.h"
#include "update.h"
-#include <math.h>
static void landrepair(struct lndstr *, struct natstr *, struct bp *, int);
static void upd_land(struct lndstr *, int, struct natstr *, struct bp *, int);
#include <errno.h>
#include <signal.h>
#include <stdio.h>
+#include <unistd.h>
#if defined(_WIN32)
#include <winsock2.h>
#include <process.h>
#include "service.h"
#endif
-#include <unistd.h>
#include "empio.h"
#include "empthread.h"