include: Move update stuff from prototypes.h to update.h

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2016-06-18 13:55:44 +02:00
parent 2e7efd1e9b
commit 893093f999
24 changed files with 97 additions and 77 deletions

View file

@ -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)

View file

@ -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 *);

View file

@ -39,6 +39,7 @@
#include "plague.h"
#include "sect.h"
#include "prototypes.h"
#include "update.h"
#define DELIVER_BONUS 4.0

View file

@ -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__))

View file

@ -44,6 +44,7 @@
#include "path.h"
#include "sect.h"
#include "prototypes.h"
#include "update.h"
static void assemble_dist_paths(double *);

View file

@ -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);

View file

@ -35,7 +35,7 @@
#include "chance.h"
#include "sect.h"
#include "prototypes.h"
#include "update.h"
/*
* Get build materials from sector @sp.

View file

@ -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;

View file

@ -40,6 +40,7 @@
#include "plane.h"
#include "prototypes.h"
#include "sect.h"
#include "update.h"
#ifndef PI
#define PI 3.14159265358979323846

View file

@ -43,6 +43,7 @@
#include "plague.h"
#include "prototypes.h"
#include "sect.h"
#include "update.h"
static int infect_people(struct natstr *, struct sctstr *);

View file

@ -40,6 +40,7 @@
#include "prototypes.h"
#include "nat.h"
#include "sect.h"
#include "update.h"
void
populace(struct sctstr *sp, int etu)

View file

@ -34,7 +34,7 @@
#include "file.h"
#include "nat.h"
#include "prototypes.h"
#include "update.h"
int
update_removewants(void)

View file

@ -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 *);