include: Move update stuff from prototypes.h to update.h
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
2e7efd1e9b
commit
893093f999
24 changed files with 97 additions and 77 deletions
|
@ -36,7 +36,7 @@
|
|||
#include "file.h"
|
||||
#include "nat.h"
|
||||
#include "optlist.h"
|
||||
#include "prototypes.h"
|
||||
#include "update.h"
|
||||
|
||||
int
|
||||
age_people(int n, int etu)
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
#include "optlist.h"
|
||||
#include "prototypes.h"
|
||||
#include "tel.h"
|
||||
#include "update.h"
|
||||
|
||||
static int copy_and_expire(FILE *, FILE *, char *, time_t);
|
||||
static int copy_sink(char *, size_t, void *);
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include "plague.h"
|
||||
#include "sect.h"
|
||||
#include "prototypes.h"
|
||||
#include "update.h"
|
||||
|
||||
#define DELIVER_BONUS 4.0
|
||||
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
#include "plague.h"
|
||||
#include "prototypes.h"
|
||||
#include "sect.h"
|
||||
#include "update.h"
|
||||
|
||||
#ifdef DISTRIBUTE_DEBUG
|
||||
#define DPRINTF(fmt, ...) ((void)printf(fmt , ## __VA_ARGS__))
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
#include "path.h"
|
||||
#include "sect.h"
|
||||
#include "prototypes.h"
|
||||
#include "update.h"
|
||||
|
||||
static void assemble_dist_paths(double *);
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
#include "player.h"
|
||||
#include "prototypes.h"
|
||||
#include "sect.h"
|
||||
#include "update.h"
|
||||
#include "xy.h"
|
||||
|
||||
static int new_work(struct sctstr *, int);
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include "chance.h"
|
||||
#include "sect.h"
|
||||
#include "prototypes.h"
|
||||
#include "update.h"
|
||||
|
||||
/*
|
||||
* Get build materials from sector @sp.
|
||||
|
|
|
@ -39,10 +39,10 @@
|
|||
#include "land.h"
|
||||
#include "optlist.h"
|
||||
#include "plane.h"
|
||||
#include "prototypes.h"
|
||||
#include "sect.h"
|
||||
#include "server.h"
|
||||
#include "ship.h"
|
||||
#include "update.h"
|
||||
|
||||
static int do_upd_checking;
|
||||
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
#include "plane.h"
|
||||
#include "prototypes.h"
|
||||
#include "sect.h"
|
||||
#include "update.h"
|
||||
|
||||
#ifndef PI
|
||||
#define PI 3.14159265358979323846
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
#include "plague.h"
|
||||
#include "prototypes.h"
|
||||
#include "sect.h"
|
||||
#include "update.h"
|
||||
|
||||
static int infect_people(struct natstr *, struct sctstr *);
|
||||
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
#include "prototypes.h"
|
||||
#include "nat.h"
|
||||
#include "sect.h"
|
||||
#include "update.h"
|
||||
|
||||
void
|
||||
populace(struct sctstr *sp, int etu)
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
#include "file.h"
|
||||
#include "nat.h"
|
||||
#include "prototypes.h"
|
||||
#include "update.h"
|
||||
|
||||
int
|
||||
update_removewants(void)
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
#include "plane.h"
|
||||
#include "prototypes.h"
|
||||
#include "sect.h"
|
||||
#include "update.h"
|
||||
|
||||
static void take_casualties(struct sctstr *, int);
|
||||
static void lnd_dies_fighting_che(struct lndstr *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue